mirror of
https://github.com/suitenumerique/messages.git
synced 2026-08-17 21:25:41 +02:00
Before, sending was done synchronously on the api/send POST call. Now we just build the MIME message and mark the message for sending, and queue the actual SMTP (or internal) sending for the worker. We use this opportunity to add fine-grained delivery statuses for each recipient, something that traditional email systems are unable to do! Expanding on that, this (too large) PR adds an initial Elasticsearch index of threads. It also overhauls the build and CI system, using Poetry instead of Pip.