Mailjet
EmailConnect AI agents to Mailjet. Agents send transactional and bulk email, manage contacts and lists with custom properties, work with templates, and monitor deliverability through message events and statistics.
What This Integration Enables
An agent can send a transactional email through the Send API v3.1 with HTML content, attachments, and stored templates, or send up to 50 fully-formed messages in a single bulk call. It manages the Mailjet global contact database: create, read, list, update, and delete contacts, set custom property values, and add, remove, or unsubscribe a contact from a list in one call. Contact lists and templates are readable, so a flow can place a contact on the right list and render the right template. Around the send, the agent monitors deliverability. It lists processed messages, reads a single message's details and its event history (sent, opened, clicked, bounced), and pulls aggregated statistics scoped to the whole account, a campaign, or a list. Mailjet exposes no event triggers in this integration, so flows start from the systems feeding it: an inbox, a spreadsheet, or a scheduled sweep. The agent is the bridge between the systems that generate contacts and the mail that reaches them.
Without FlowRunner
With FlowRunner
Use Case Scenarios
Subscribe and Welcome
A [Gmail](/integrations/gmail-service) On New Email trigger fires with a subscription request. The agent calls Manage List Subscription to add the sender to a contact list, then Send Email to deliver a welcome message from a stored template. The subscriber is on the list and greeted in one run.
Sync a Roster With Properties
The agent reads a mailing roster from [Google Sheets](/integrations/google-sheets) with Get Rows, then calls Create Contact and Update Contact Properties for each row to sync subscribers into Mailjet with the fields campaigns segment on. The roster becomes a queryable, segmentable audience, not a static spreadsheet.
Campaign Performance Report
After a Send Bulk Emails run, a scheduled flow calls Get Stat Counters and logs the delivered, opened, and bounced counts to [Google Sheets](/integrations/google-sheets) Add Row. The marketing team gets a performance report without exporting anything by hand.
Human-in-Loop Highlight
A bulk send reaches up to 50 fully-formed messages in a single call, and a mistake in the template or the recipient set reaches all of them at once. When the agent is about to run Send Bulk Emails to an audience above the size you set, it treats the send as a [human-in-the-loop](/concepts/human-in-the-loop/) step. It pauses, shows the template or subject, the recipient count, and a sample recipient, and routes approval to a marketing owner through Slack or email. The owner approves, and the agent sends the batch. The owner holds, and nothing goes out. Single transactional sends flow untouched; the batch that reaches an audience gets a human first.
Agent Capabilities
16 actionsSending
2- Send Email Sends a transactional email through the Mailjet Send API v3.1. Supports plain-text and HTML content, attachments, and stored templates.
- Send Bulk Emails Sends up to 50 fully-formed messages in a single Send API v3.1 call, each with its own recipients and content.
Contacts
6- Create Contact Creates a new contact in the Mailjet global contact database, which can then be subscribed to lists.
- Get Contact Retrieves a single contact by its numeric ID or email address.
- List Contacts Retrieves contacts from the global contact database with pagination.
- Update Contact Updates a contact's name and campaign exclusion flag in the contact database.
- Update Contact Properties Sets custom property values on a contact, for example first name, country, or plan, so campaigns can segment and personalize.
- Delete Contact Permanently deletes a contact from your account using the GDPR-compliant contact deletion.
Lists
3- Create Contact List Creates a new contact list in your account.
- List Contact Lists Retrieves the contact lists in your account with pagination.
- Manage List Subscription Adds a contact to a list, removes it, or unsubscribes it, in a single call.
Templates and Statistics
5- List Templates Retrieves the email templates owned by your account, including user-created templates.
- List Messages Retrieves processed messages sent from your account, with optional time filtering.
- Get Message Retrieves the details of a single sent message by its Mailjet message ID.
- Get Message History Retrieves the event history of a sent message (sent, opened, clicked, bounced) by its ID.
- Get Stat Counters Retrieves aggregated email statistics (sent, delivered, opened, clicked, bounced, spam, unsubscribed) scoped to the account, a campaign, or a list.
Start building with Mailjet
$100 in credits. No card required. Connect in minutes.