Ghost/ghost/email-events
Simon Backx d8187123af
Added storage for email failures (#15901)
fixes https://github.com/TryGhost/Team/issues/2332

Saves events in the database and collects error information.

Do note that we can emit the same events multiple times, and as a result
out of order. That means we should correctly handle that a delivered
event might be fired after a permanent failure. So a delivered event is
ignored if the email is already marked as failed. Also delivered_at is
reset to null when we receive a permanent failure.
2022-12-01 10:00:53 +01:00
..
lib Added storage for email failures (#15901) 2022-12-01 10:00:53 +01:00
test Added storage for email failures (#15901) 2022-12-01 10:00:53 +01:00
.eslintrc.js Added @tryghost/email-events package 2022-11-24 13:56:35 +07:00
index.js Added storage for email failures (#15901) 2022-12-01 10:00:53 +01:00
package.json Updated dev dependency to use pinned version 2022-11-24 13:58:12 +07:00
README.md Added @tryghost/email-events package 2022-11-24 13:56:35 +07:00

Email Events

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests