Skip to content

Scala email library used in the Registered Traveller, EVW, Creative Worker at rt-emailer.

License

Notifications You must be signed in to change notification settings

UKHomeOffice/rtp-email-lib

Repository files navigation

RTP Email Library - Scala library to work with Emails

Sending email requires opening network connections to an SMTP server or GovNotify. To handle network failures, or the endpoint being down gracefully we need to implement retry logic and persistent retry queues during app restarts. We also have other challenges such as generating HTML content dynamically and managing it.

Our large applications instead write emails they want to send to a mongo db collection and rt-emailer, a background program, picks them up and handles all those challenges. The result is that our business logic is simpler and less likely to run into technical issues since sending an email has been reduced to simply writing a row to the database.

This library describes the shared Email class used by various services.

About

Scala email library used in the Registered Traveller, EVW, Creative Worker at rt-emailer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages