Channels & ProvidersEmail
Mailgun
Configure Mailgun as an email provider in Notiflows
Mailgun is an email API for sending, receiving, and tracking emails.
Configuration
To create an email channel with Mailgun, configure the following:
| Field | Required | Description |
|---|---|---|
| API Key | Yes | Mailgun private API key |
| Domain | Yes | Verified sending domain |
| Region | Yes | US or EU |
| From Email | Yes | Sender email address |
| From Name | No | Display name for the sender |
| Click Tracking | No | Enable click tracking for links |
| Open Tracking | No | Enable open tracking for emails |
Prerequisites
Before configuring Mailgun in Notiflows:
- A Mailgun account
- A verified domain
- Your private API key
Setup in Notiflows
- Navigate to Channels in your project
- Click Create Channel
- Select Email as the channel type
- Select Mailgun as the provider
- Enter your API key, domain, and region
- Enter sender details
- Optionally enable click and open tracking
- Save the channel
Region
Choose your Mailgun account region:
- US - api.mailgun.net
- EU - api.eu.mailgun.net
Templates
Email templates support three content types:
- Visual - Drag-and-drop editor for rich HTML emails
- HTML - Raw HTML with full control
- Plaintext - Simple text emails
Use Liquid templating for dynamic content:
Hi {{ recipient.first_name }},
{{ data.message }}Available variable contexts:
recipient.*- Recipient user data (first_name, last_name, email, etc.)actor.*- User who triggered the notificationdata.*- Custom payload passed when triggering the notiflow