Skip to main content
Back to blog

Developer Guides

Automate Email Alias Workflows with API Keys and Webhooks

How to build automation around aliases, threads, and notifications using mailservr API keys and outbound webhook events.

Published January 20, 2026 - 7 min read

Generate API keys for service-to-service access

Create API keys from Settings and store them in your secret manager. Keys are shown in full only once.

Use the Authorization header with Bearer tokens for scripted workflows.

  • Pro plan supports 1 API key
  • Enterprise plan supports 10 API keys
  • Rotate and delete keys when ownership changes

Automate common alias operations

Use API endpoints to create addresses, list threads, fetch thread details, and send replies from your aliases.

This is useful for support routing, CI notifications, and internal tool integrations.

  • Create aliases on selected domains
  • Read inbox threads and latest message snippets
  • Reply or compose outbound messages from allowed addresses

Subscribe to outbound webhook events

Enterprise users can register HTTPS webhook endpoints and subscribe to email.received, email.sent, and thread.created events.

Each delivery includes timestamped HMAC signatures so your app can verify authenticity before processing.

  • Up to 5 webhook endpoints on Enterprise
  • Signature headers include timestamp and digest
  • Delivery logs are visible in settings

Design for reliable processing

Return 2xx quickly and move heavy work into background jobs. Track event identifiers to handle duplicates safely.

For critical workflows, monitor webhook delivery status and alert on repeated failures.

Continue with mailservr

Apply this workflow in your account and keep your alias operations consistent.

Related posts

Generate Email Aliases from Your Password Manager with mailservr

Connect your password manager to mailservr and generate unique email aliases every time you create a new login. Works with Bitwarden and 1Password.

Read

Email Alias Security Checklist for 2026

Set up aliases with safer defaults, keep your inbox organized, and cut repeat spam with blocked-sender controls.

Read