Skip to content

Add mailtrap email - #271

Open
dieudonneAwa wants to merge 2 commits into
encoredev:mainfrom
dieudonneAwa:add-mailtrap-email
Open

Add mailtrap email#271
dieudonneAwa wants to merge 2 commits into
encoredev:mainfrom
dieudonneAwa:add-mailtrap-email

Conversation

@dieudonneAwa

@dieudonneAwa dieudonneAwa commented Jul 25, 2026

Copy link
Copy Markdown

Adds a new example showing how to send transactional emails using Mailtrap's Email API with Encore.

Features:

  • POST /email/send endpoint for sending transactional emails
  • Mailtrap API token stored securely as an Encore secret
  • Clean JSON payload matching Mailtrap's Email API format
  • Error handling for API failures

Mailtrap is a popular email delivery platform (150,000+ developers) and a natural alternative to the existing SendGrid example. Installs via encore app create --example=mailtrap-email.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Adds a new example showing how to send transactional emails using Mailtrap's Email API with Encore. Includes README, API endpoint, and secret configuration. Mailtrap is an alternative email provider to SendGrid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant