Skip to content

How it works

From a send call to a delivered e-mail and the event that tells you so.

Applies to EngineCloud
View as Markdown
On this page
  1. Your app sends
  2. Mail renders and queues
  3. Amazon SES delivers
  4. Events come back
  5. Where things live
  1. Your app sends

    POST https://mail.api.sypnia.com/v1/emails with a template and its data, or a subject and a body. The API checks the key, that the sender’s domain is verified, that recipients are not on the suppression list, and the project’s limits, then answers 202 with the e-mail’s id.

  2. Mail renders and queues

    The template is rendered with the data into HTML and plain text, tracking is added if you turned it on, and the message waits in the project’s queue, which respects the rate your plan and warm-up allow.

  3. Amazon SES delivers

    The message is handed to Amazon SES, signed with your domain’s DKIM key, with your domain’s return path, and SES delivers it to the recipient’s server.

  4. Events come back

    SES reports delivery, bounces and complaints; Mail records each as an event on the e-mail, adds hard bounces and complaints to the suppression list, and sends the events to your webhook.

Where things live

ThingWhere
The APIhttps://mail.api.sypnia.com/v1 Cloud
The SMTP relaysmtp.mail.sypnia.com, ports 587 and 465 Cloud
Templates, events, suppressionsthe engine’s Postgres
Message bodieskept for the plan’s retention, then deleted; events are kept longer without the body
  1. Your app sends
  2. Mail renders and queues
  3. Amazon SES delivers
  4. Events come back
  5. Where things live

    Search pages, sections and terms