Blocks

Mailgun

Powerful email API service for sending, receiving, and tracking emails.

Integrate with Mailgun to send transactional emails, manage mailing lists, track email performance, and handle inbound email routing. Mailgun is a developer-focused email service used by thousands of companies to send billions of emails with powerful APIs, flexible webhooks, and detailed analytics.

Back to Catalog
Toolsmailgun

Block Preview

Mailgun

Powerful email API service for sending, receiving, and tracking emails.

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the mailgun block with monitoring enabled in production.

Inputs (UI)

Mailgun API Key

short-input

Placeholder: Enter your Mailgun private API key

Layout: full

Domain

short-input

Placeholder: mg.yourdomain.com

Layout: full

Region

dropdown

Layout: full

Options: US, EU

Operation

dropdown

Layout: full

Options: Send Email, Send Batch Emails, Validate Email, Get Stats

From

short-input

Placeholder: sender@yourdomain.com

Layout: half

Condition: operation = ["send_email","send_batch"]

To

short-input

Placeholder: recipient@example.com

Layout: half

Condition: operation = ["send_email","validate_email"]

Subject

short-input

Placeholder: Email subject

Layout: full

Condition: operation = ["send_email","send_batch"]

Text Body

long-input

Placeholder: Plain text email body

Layout: full

Condition: operation = ["send_email","send_batch"]

HTML Body

code

Placeholder: <html><body>HTML email content</body></html>

Layout: full

Condition: operation = ["send_email","send_batch"]

Recipient Variables (JSON)

code

Placeholder: {"user@example.com": {"name": "John", "id": "123"}}

Layout: full

Condition: operation = "send_batch"

Inputs (API)

credential

string

Required

domain

string

Required

region

string

Optional

operation

string

Required

from

string

Optional

to

string

Optional

subject

string

Optional

text

string

Optional

html

string

Optional

recipientVariables

json

Optional

Outputs

Primary response type:

{
  "data": "json"
}

Tool Access

mailgun_api
Mailgun | NowFlow Blocks