notiflowsDocs
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:

FieldRequiredDescription
API KeyYesMailgun private API key
DomainYesVerified sending domain
RegionYesUS or EU
From EmailYesSender email address
From NameNoDisplay name for the sender
Click TrackingNoEnable click tracking for links
Open TrackingNoEnable open tracking for emails

Prerequisites

Before configuring Mailgun in Notiflows:

  1. A Mailgun account
  2. A verified domain
  3. Your private API key

Setup in Notiflows

  1. Navigate to Channels in your project
  2. Click Create Channel
  3. Select Email as the channel type
  4. Select Mailgun as the provider
  5. Enter your API key, domain, and region
  6. Enter sender details
  7. Optionally enable click and open tracking
  8. 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 notification
  • data.* - Custom payload passed when triggering the notiflow

On this page