Ghost/ghost/email-service
Simon Backx ac2daccf95 Added short lived caching to email batch body (#16233)
fixes https://github.com/TryGhost/Team/issues/2522

When sending an email for multiple batches at the same time, we now
reuse the same email body for each batch in the same segment. This
reduces the amount of database queries and makes the sending more
reliable in case of database failures.

The cache is short lived. After sending the email it is automatically
garbage collected.
2023-02-07 11:30:37 +01:00
..
lib Added short lived caching to email batch body (#16233) 2023-02-07 11:30:37 +01:00
test Added short lived caching to email batch body (#16233) 2023-02-07 11:30:37 +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