Get your API key
All integrations DevOps

Sentry + MailKite

Sentry is the leading error tracking platform. Point its SMTP at MailKite and every error alert, invite, and report goes out over your own DKIM-signed domain.

What you need

  • A verified domain with SPF + DKIM published
  • Your API key (mk_live_…)
  • Sentry self-hosted or Sentry SaaS with custom SMTP support

Configure SMTP

For self-hosted Sentry, edit sentry.conf.py and add the email configuration. For Sentry SaaS, configure SMTP under your organization settings if your plan supports it.

SMTP Hostsmtp.mailkite.dev
SMTP Port587
EncryptionTLS (STARTTLS)
Usernamemailkite
PasswordYour API key (mk_live_…)
From Addresssentry@yourdomain.com (on a verified domain)
sentry.conf.py
# sentry.conf.py (self-hosted)

SENTRY_EMAIL_HOST = 'smtp.mailkite.dev'
SENTRY_EMAIL_PORT = 587
SENTRY_EMAIL_USER = 'mailkite'
SENTRY_EMAIL_PASSWORD = 'mk_live_...'
SENTRY_EMAIL_USE_TLS = True
SENTRY_SERVER_EMAIL = 'sentry@yourdomain.com'
SENTRY_EMAIL_SUBJECT_PREFIX = '[Sentry] '

Test it

Trigger an error in your application or invite a new member to your Sentry organization to verify email delivery through MailKite.

Troubleshooting

  • Emails not sending — confirm the SENTRY_SERVER_EMAIL is on a verified domain.
  • 535 Authentication failed — your password must be your mk_live_… API key, not a separate SMTP password.
  • Self-hosted — restart Sentry containers after editing sentry.conf.py: docker-compose restart.
  • Sentry SaaS — custom SMTP may require a Business plan. Check your Sentry plan's feature set.

See the SMTP relay docs for the full connection reference, or all integrations for other platforms.