Ghost/ghost/email-service
Simon Backx 48f9485f46
🐛 Fixed storing email failures with an empty message (#16260)
no issue

- When we receive an email failure with an empty message, the saving of
the model would fail because of schema validation that requires strings
to be non-empty.
- This adds more logging to the email analytics service to help debug
future issues
- Performance improvement to storing delivered, opened and failed emails
by replacing COALESCE with WHERE X IS NULL (tested and should give a
decent performance boost locally).
2023-02-13 15:25:36 +01:00
..
lib 🐛 Fixed storing email failures with an empty message (#16260) 2023-02-13 15:25:36 +01:00
test 🐛 Fixed storing email failures with an empty message (#16260) 2023-02-13 15:25:36 +01:00
.eslintrc.js Added email service package (#15849) 2022-11-21 10:29:53 +01:00
index.js Added mailgun provider for sending emails (#15896) 2022-11-30 16:21:58 +05:30
package.json Updated email sending to remove invalid recipient emails (#16171) 2023-01-24 16:13:10 +05:30
README.md Added email service package (#15849) 2022-11-21 10:29:53 +01:00

Email Service

Manages how posts are sent via email

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