Mailcoach is an email marketing platform that allows users to manage email campaigns and subscriber lists efficiently.
Mailcoach is an email marketing platform that allows users to manage email campaigns and subscriber lists efficiently. On Nagent, Mailcoach is exposed as a fully-configurable email newsletters integration that any agent can call — 56 actions, and API key authentication. No code is required to wire Mailcoach into your workflow — connect it once via the External Integrations panel and reuse it across every agent you build.
Agent builders use Mailcoach to automate the kinds of tasks email newsletters teams previously handled manually. Concrete examples — each one is a single agent step in Nagent — include:
Every action and trigger is paired with a structured input/output schema (visible in the sections below), so when you wire Mailcoach into Helix — our agentic agent builder — the editor knows exactly what each step expects and produces. Configure once, deploy anywhere across your Nagent agents.
Every operation an agent can call against Mailcoach, with input parameters and output schema. Drop these into any step of an agent built in Helix.
MAILCOACH_ADD_CAMPAIGNTool to create a new Mailcoach campaign. Use when you need to send or schedule an email campaign to a specific list or segment.
Input parameters
Raw HTML content for the campaign; if omitted, template_uuid or mailable_class must be provided
Unique name for the campaign
Dynamic template fields when using a template UUID.
Whether to automatically append UTM parameters to all links
Schedule date/time in 'YYYY-MM-DD HH:MM:SS' (server timezone)
UUID of the subscriber segment to target
UUID of the template; required if using a saved template
Fully-qualified class name for a custom mailable
Whether to disable the webview version of the email
UUID of the email list to send the campaign to
Whether to add subscriber-specific tags found in the content
Whether to add link tags for each subscriber
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_ADD_EMAIL_LISTTool to create a new email list. Use when you need to manage and organize subscribers before sending campaigns. Use after authentication.
Input parameters
Email list name
Mailer for campaigns, as defined in the Laravel config
Mailer for automations, as defined in the Laravel config
Type of confirmation mail to send
Default sender name
Comma-separated emails to receive reports
Default sender email address
Send report after each campaign is sent
Mailer for transactional emails, as defined in the Laravel config
Default reply-to name
Require double opt-in confirmation for new subscribers
Enable RSS feed for campaigns
Default reply-to email address
Include campaign summary in reports
Allow subscriptions via form
HTML content for custom confirmation mail; required if confirmation_mail is send_custom_confirmation_mail
Subject for custom confirmation mail; required if confirmation_mail is send_custom_confirmation_mail
URL redirect after a successful subscription
Include email list summary in reports
URL redirect after unsubscribed
Allowed tags that subscribers can choose when subscribing via form
URL redirect when already subscribed
URL redirect after subscription pending confirmation
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_ADD_SUPPRESSIONTool to add a suppression entry. Use after detecting a bounce, spam complaint, or manual block.
Input parameters
The email address to suppress
Reason for suppression. One of 'hard_bounce', 'spam_complaint', or 'manual'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_ADD_TAGTool to create a new tag within a specific email list. Use after confirming the email list exists.
Input parameters
Name of the tag to create
UUID of the target email list where the tag will be created
Whether this tag should be shown in subscriber preference settings. If omitted, defaults to the server's default behavior.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_ADD_TAGS_TO_SUBSCRIBERAdd tags to a subscriber for segmentation and targeting. Tags are appended to existing tags. Use after obtaining a subscriber UUID from listing subscribers or creating a new subscription.
Input parameters
List of tag names to add to the subscriber. Tags are appended to existing tags. Must contain at least one tag.
The UUID of the subscriber to add tags to. Obtain this from listing subscribers or subscribing a new user.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_ADD_TRANSACTIONAL_EMAIL_TEMPLATECreates a new email template in Mailcoach via POST /api/templates. Use this action to create reusable HTML templates that can be referenced when sending transactional emails. Returns the created template with its UUID, which can be used to reference, update, or delete the template later.
Input parameters
HTML content of the template. Supports Mailcoach placeholders like {{ subscriber.email }}. If neither html nor structured_html is provided, an empty string is used.
Name for the template. Used to identify the template in your Mailcoach account. Duplicate names are allowed (each template gets a unique UUID).
Structured HTML content, typically MJML format for responsive emails. Takes precedence over html if both provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_APPEND_TO_SUBSCRIBER_IMPORTTool to append CSV data to an existing subscriber import. Use after retrieving a subscriber import when additional subscriber data needs to be added.
Input parameters
UUID of the subscriber import to append data to.
CSV formatted string of subscriber data to append.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_CONFIRM_SUBSCRIBERConfirm a subscriber's subscription to an email list (double opt-in confirmation). Use this action to finalize a subscriber's subscription after they have been added to an email list with confirmation required. This is typically called after the subscriber clicks a confirmation link in their email. Prerequisites: - A subscriber must exist (created via MAILCOACH_SUBSCRIBE_TO_EMAIL_LIST action) - The subscriber must be in 'unconfirmed' status (skip_confirmation was false or not set) Returns 204 No Content on success. If the subscriber is already confirmed or does not exist, appropriate error messages are returned.
Input parameters
The unique identifier (UUID) of the subscriber to confirm. This UUID is returned when creating a subscriber via the subscribe endpoint.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_CREATE_SEGMENTTool to create a new segment within an email list. Use when you need to target specific groups of subscribers based on tags.
Input parameters
Name of the segment to create
List of tag names that should be excluded from the segment
List of tag names that should be included in the segment
UUID of the email list where the segment will be created
Whether all negative tags must be present for exclusion. If true, subscribers are excluded only if they have ALL negative tags. If false, subscribers are excluded if they have ANY negative tag.
Whether all positive tags must be present on a subscriber for inclusion. If true, subscribers must have ALL specified positive tags. If false, subscribers need only ONE of the positive tags.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_CREATE_SUBSCRIBER_IMPORTCreates a new subscriber import in Mailcoach. Use this to bulk import subscribers from CSV data into an email list. The import is created in 'draft' status and must be started separately using the start_subscriber_import action. The CSV must include a header row with at least an 'email' column. Optional columns include 'first_name', 'last_name', 'tags', and custom attributes. Requires a valid email_list_uuid from an existing email list.
Input parameters
If true, all existing tags on the subscribers will be replaced with tags from the CSV. Defaults to false.
UUID of the target email list.
CSV string with subscribers' data, one row per subscriber. Must include header.
If true, existing list members not present in the CSV will be unsubscribed. Use with caution. Defaults to false.
If true, previously unsubscribed emails will be resubscribed. Defaults to false.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_DELETE_CAMPAIGNTool to delete a campaign by UUID. Use when you need to permanently remove a campaign after confirming its identifier.
Input parameters
The UUID of the campaign to delete.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_DELETE_EMAIL_LISTTool to delete an email list by UUID. Use when you need to permanently remove an email list after confirming its identifier.
Input parameters
The UUID of the email list to delete.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_DELETE_SEGMENTTool to delete a segment from an email list. Use when you need to permanently remove a segment after confirming its identifiers.
Input parameters
UUID of the segment to delete.
UUID of the email list containing the segment.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_DELETE_SUBSCRIBERPermanently delete a subscriber by UUID from Mailcoach. Use this tool when you need to completely remove a subscriber and all their data. After deletion, the email address can be re-subscribed in the future. This action is irreversible - consider using unsubscribe instead if you want to preserve subscriber history.
Input parameters
The unique identifier (UUID) of the subscriber to permanently delete. This can be obtained from the subscriber list or get subscriber endpoint.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_DELETE_SUBSCRIBER_IMPORTTool to delete a subscriber import by its UUID. Use when you need to permanently remove a subscriber import after confirming its identifier.
Input parameters
The UUID of the subscriber import to delete.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_DELETE_SUPPRESSIONTool to delete a suppression entry by UUID. Use when you need to permanently remove a suppression after confirming its identifier.
Input parameters
The unique UUID of the suppression entry to delete. Obtain this from the 'Get All Suppressions' or 'Add Suppression' actions.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_DELETE_TAGTool to delete a tag from an email list. Use when you need to permanently remove a tag after confirming its identifiers.
Input parameters
UUID of the tag to delete.
UUID of the email list containing the tag.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_DELETE_TEMPLATETool to delete a template by UUID. Use when you need to permanently remove a template after confirming its UUID.
Input parameters
The unique identifier (UUID) of the template to delete. Can be obtained from the Get All Templates or Get Specific Template actions.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_DELETE_TRANSACTIONAL_MAILTool to delete a transactional mail send record by its UUID. This removes the logged send entry for a transactional email from the /api/sends endpoint. Use when you need to permanently remove a transactional mail log item. Note: This is idempotent - deleting a non-existent UUID returns success.
Input parameters
UUID of the transactional mail send record to delete. This is the 'uuid' field from the sends list (GET /api/sends), not a template UUID.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_ALL_CAMPAIGNSTool to retrieve all campaigns. Use when you need a paginated, sortable list of campaigns matching criteria.
Input parameters
Page number for paginated results.
Sort field; prefix with '-' for descending. Allowed: name, unique_open_count, unique_click_count, unsubscribe_rate, sent_to_number_of_subscribers, sent.
Search term to find campaigns by name (e.g., 'blackfriday').
Filter campaigns by status.
Filter by email list ID.
Filter by email list UUID.
Filter by associated template UUID.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_ALL_SENT_ITEMSTool to retrieve all sent items. Use when you need to list and filter sent items after delivery.
Input parameters
Page number for pagination (must be ≥1)
Sort by sent_at: '-sent_at' for descending (default), 'sent_at' for ascending
Filter by campaign UUID
Filter by subscriber UUID
Filter by automation mail UUID
Filter by transactional mail log item UUID
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_ALL_SUBSCRIBER_IMPORTSTool to retrieve all subscriber imports. Use when you need a paginated list of import jobs.
Input parameters
Page number for paginated results (must be ≥ 1)
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_ALL_SUPPRESSIONSRetrieve a paginated list of all email suppression entries from Mailcoach. Suppressions are email addresses that will never receive emails. They can be created due to hard bounces, spam complaints, or manual blocking. Use this tool to: - View all suppressed email addresses - Search for specific suppressed emails - Filter by suppression reason (hard_bounce, spam_complaint, manual) - Get suppression UUIDs for use with get_specific_suppression or delete_suppression
Input parameters
Page number for paginated results
Sort by created_at; prefix with '-' for descending
Filter suppressions by reason
Search by full or partial email address
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_ALL_TAGSTool to retrieve all tags for a specific email list. Use after confirming the email list exists.
Input parameters
Page number for paginated results
UUID of the email list to fetch tags for
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_ALL_TEMPLATESTool to retrieve all templates. Use when you need a paginated list of templates with optional search and sorting.
Input parameters
Page number for paginated results (>= 1).
Sort field; prefix with '-' for descending. Allowed: 'name', 'updated_at'.
Search term to filter templates by name (e.g., 'welcome').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_ALL_TRANSACTIONAL_EMAIL_TEMPLATESTool to retrieve all transactional email templates. Use when you need a paginated list of transactional templates matching your criteria.
Input parameters
Page number for paginated results.
Sort by created_at; prefix with '-' for descending (e.g., '-created_at').
Filter templates by name (e.g., 'welcome_email').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_CAMPAIGN_BOUNCESTool to retrieve bounced subscribers of a sent campaign with pagination support. Use when you need to analyze or manage email bounces for campaign delivery tracking.
Input parameters
Page number for pagination (default limit: 1000 items per page)
Sort results by created_at or email. Prefix with '-' for descending order (e.g., '-created_at')
The UUID of the campaign to retrieve bounces for
Enum for bounce types.
Search by email, first_name, or last_name
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_CAMPAIGN_CLICKSTool to retrieve clicks from a sent campaign with pagination support. Use when you need to analyze link engagement and click-through data for a specific campaign.
Input parameters
Page number for pagination (default limit: 15 items per page)
Sort results by unique_click_count or click_count. Prefix with '-' for descending order (e.g., '-unique_click_count').
The UUID of the campaign to retrieve clicks for
Search by URL (e.g., 'example.com')
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_CAMPAIGN_OPENSTool to retrieve all opens for a sent campaign with pagination support. Use when you need to see who opened a campaign and how many times.
Input parameters
Page number for paginated results (must be ≥1)
Sort field; prefix with '-' for descending. Allowed: email, open_count, first_opened_at.
UUID of the campaign to retrieve opens for
Search by email address (e.g., 'john@doe.com')
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_CAMPAIGN_UNSUBSCRIBESTool to retrieve unsubscribes from a sent campaign with pagination support. Use when you need to see who unsubscribed from a specific campaign.
Input parameters
Page number for pagination (default limit is 1000)
Sort results by created_at; prefix with '-' for descending (e.g., '-created_at')
The UUID of the campaign to get unsubscribes for
Search by email, first_name, or last_name
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_EMAIL_LISTSTool to retrieve all email lists. Use when you need to fetch a paginated list of email lists with optional filters.
Input parameters
Page number for paginated results, must be >= 1
Sort by one of 'name', 'created_at', or 'active_subscribers_count'; prefix with '-' for descending
Exact match on list name
Fuzzy search by list name
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_SEGMENTTool to retrieve details of a specific segment. Use when you need to fetch segment metadata after confirming the email list and segment UUIDs.
Input parameters
UUID of the specific segment to retrieve. Obtain this from the 'Get All Segments' action.
UUID of the email list owning the segment.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_SPECIFIC_CAMPAIGNTool to retrieve details of a specific Mailcoach campaign. Use when you need the full campaign resource by its UUID.
Input parameters
UUID of the campaign to retrieve
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_SPECIFIC_EMAIL_LISTRetrieve detailed information about a specific Mailcoach email list by its UUID. Returns comprehensive list details including: - Basic info: name, UUID, subscriber count - Email settings: default from/reply-to addresses and names - Subscription settings: form subscriptions, confirmation requirements, redirect URLs - Mailer configurations: campaign, automation, and transactional mailers - Reporting settings: report recipients and enabled report types - Timestamps: creation and last update dates Use this action when you need complete details about a specific email list. The UUID can be obtained from the Get Email Lists action.
Input parameters
The UUID of the email list to retrieve. Can be obtained from the Get Email Lists action.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_SPECIFIC_SUBSCRIBERTool to retrieve a specific subscriber. Use when you need to fetch subscriber details by UUID.
Input parameters
The UUID of the subscriber to retrieve.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_SPECIFIC_SUPPRESSIONTool to retrieve a specific suppression entry. Use when you need to fetch suppression details by UUID or email.
Input parameters
The UUID or email identifier of the suppression entry to retrieve.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_SPECIFIC_TAGTool to retrieve details of a specific tag. Use when you need to fetch tag metadata after confirming the email list and tag UUIDs.
Input parameters
UUID of the specific tag to retrieve. Obtain this from the 'Get All Tags' action.
UUID of the email list owning the tag.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_SPECIFIC_TEMPLATERetrieves the full details of a specific Mailcoach email template by its UUID. Use this to fetch template content (HTML), metadata, and timestamps for a known template. The UUID can be obtained from the 'Get All Templates' action or from template creation responses. Returns template name, HTML content, structured HTML (if present), and timestamps.
Input parameters
The unique identifier (UUID) of the template to retrieve. Obtain this from the 'Get All Templates' action or after creating a template.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_SUBSCRIBER_IMPORTTool to retrieve details of a specific subscriber import by UUID. Use when you need to check the status or details of a particular import job.
Input parameters
The UUID of the subscriber import to retrieve
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_TRANSACTIONAL_MAILTool to retrieve details of a specific transactional email by its UUID. Use when you need to fetch the full details (subject, HTML content, recipients, settings) of a known transactional email template.
Input parameters
The unique identifier (UUID) of the transactional email to retrieve. Obtain this from the 'Get Transactional Mails' action or after sending a transactional email.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_GET_USERTool to retrieve details of the currently authenticated user. Use when you need to get information about the user associated with the API token.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_LIST_SEGMENTSTool to retrieve all segments for a specific email list. Use when you need to fetch segments that filter subscribers by tags.
Input parameters
Page number for paginated results
UUID of the email list to fetch segments for
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_LIST_SUBSCRIBERSTool to list all subscribers from a specific email list with pagination support. Use when you need to fetch subscribers from an email list, with optional filtering by email, search terms, or subscription status.
Input parameters
Page number for paginated results, must be >= 1
Sort by field; prefix with '-' for descending order
Number of results per page (1-100), default is 15
Filter by exact email address match
Fuzzy search across email, first_name, last_name, and tags
Filter by subscriber status: unconfirmed, subscribed, or unsubscribed
UUID of the email list to retrieve subscribers from
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_LIST_TRANSACTIONAL_MAILSTool to retrieve all transactional email records. Use when you need a paginated list of sent transactional mails.
Input parameters
Page number for paginated results.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_REMOVE_TAGS_FROM_SUBSCRIBERTool to remove tags from a subscriber. Use after retrieving a subscriber's UUID to adjust their segments.
Input parameters
Non-empty list of tag names to remove from the subscriber.
The UUID of the subscriber from whom tags will be removed.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_RESEND_CONFIRMATIONTool to resend confirmation email to a subscriber. Use when a subscriber hasn't confirmed and you need to resend the confirmation.
Input parameters
The UUID of the subscriber to resend the confirmation email to.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_START_SUBSCRIBER_IMPORTStarts processing a subscriber import that is in 'draft' status. Use this action after creating a subscriber import with 'Create Subscriber Import' and optionally appending data with 'Append to Subscriber Import'. The import must be in 'draft' status to be started. Once started, the import will process the CSV data and add/update subscribers in the associated email list. Returns 204 No Content on success.
Input parameters
UUID of the subscriber import to start. The import must be in 'draft' status. Use 'Get All Subscriber Imports' or 'Create Subscriber Import' to obtain a valid UUID.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_SUBSCRIBE_TO_EMAIL_LISTSubscribe (or update) a subscriber to an email list. By default, this upserts: if the email already exists in the list, it updates the subscriber; otherwise, it creates a new one. Use strict=true to prevent updates and fail if the email already exists. Tags are synced/replaced when provided. Use skip_confirmation=true to bypass double opt-in.
Input parameters
Tags to set; passing tags will sync/replace tags on the subscriber (optional)
Subscriber's email address (must use a real domain; test domains like example.com are rejected by the API)
If true and the email already exists, the call fails instead of updating (optional)
Subscriber's last name (optional)
Subscriber's first name (optional)
UUID of the email list to add the subscriber to
Custom fields as key-value pairs (optional, values must be strings)
Skip double opt-in; immediately confirm the subscription (optional)
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_UNSUBSCRIBE_SUBSCRIBERUnsubscribe a subscriber from their email list in Mailcoach. This changes the subscriber's status to 'unsubscribed' without deleting them. Use when a user requests to stop receiving emails. The subscriber can be resubscribed later if needed. Requires the subscriber's UUID (obtained from subscribe or get subscriber actions).
Input parameters
The unique identifier (UUID) of the subscriber to unsubscribe. Obtain this from MAILCOACH_SUBSCRIBE_TO_EMAIL_LIST or MAILCOACH_GET_SPECIFIC_SUBSCRIBER.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_UPDATE_CAMPAIGNTool to update an existing Mailcoach campaign. Use after identifying the campaign UUID when you need to modify campaign attributes such as name, schedule, or content.
Input parameters
Raw HTML content of the campaign
New name for the campaign
UUID of the campaign to update
Key-value pairs to merge into dynamic template fields
Markdown content if using a markdown-enabled template
Override email subject line
Append UTM tags to all links
Override 'from' display name
Override 'from' email address
Scheduled send datetime in 'YYYY-MM-DD HH:MM:SS' (server timezone)
UUID of a subscriber segment to target
UUID of the template to use; omit to keep current template
Fully-qualified class name for a custom mailable
Disable public webview generation
UUID of the email list to send the campaign to
Tag subscribers after send
Tag clicked links per subscriber
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_UPDATE_EMAIL_LISTTool to update an existing email list. Use when you need to modify a list's configuration after verifying its UUID.
Input parameters
Email list name
The UUID of the email list to update
Mailer for campaigns, as defined in the Laravel config
Mailer for automations, as defined in the Laravel config
Type of confirmation mail to send
Default sender name
Comma-separated emails to receive reports
Default sender email address
Send report after each campaign is sent
Mailer for transactional emails, as defined in the Laravel config
Default reply-to name
Require double opt-in confirmation for new subscribers
Enable RSS feed for campaigns
Default reply-to email address
Include campaign summary in reports
Allow subscriptions via form
HTML content for custom confirmation mail; required if confirmation_mail is 'send_custom_confirmation_mail'
Subject for custom confirmation mail; required if confirmation_mail is 'send_custom_confirmation_mail'
URL redirect after a successful subscription
Include email list summary in reports
URL redirect after unsubscribed
Allowed tags that subscribers can choose when subscribing via form
URL redirect when already subscribed
URL redirect after subscription pending confirmation
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_UPDATE_SEGMENTTool to update an existing segment within an email list. Use when you need to modify segment criteria, name, or tag rules after verifying its existence.
Input parameters
Name of the segment
UUID of the segment to update
List of tag names that subscribers should NOT have to be included in this segment
List of tag names that subscribers should have to be included in this segment
UUID of the email list containing the segment
Whether all negative tags must be excluded from a subscriber to be included in the segment
Whether all positive tags must be present on a subscriber to be included in the segment
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_UPDATE_SUBSCRIBERTool to update a subscriber. Use when you need to modify subscriber details after creation.
Input parameters
Tags to set; replaces existing tags by default.
The subscriber’s email address.
Subscriber’s last name. Set to null to remove.
Subscriber’s first name. Set to null to remove.
If true, provided tags are appended instead of replaced.
UUID of the subscriber to update.
Additional custom attributes for the subscriber.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_UPDATE_SUBSCRIBER_IMPORTTool to update an existing subscriber import. Use when you need to modify a draft import before execution. Import must be in draft status.
Input parameters
UUID of the subscriber import to update. Must be an existing import in 'draft' status.
If true, all existing tags on subscribers will be replaced with tags from the CSV. Defaults to false.
UUID of the target email list where subscribers will be imported.
CSV string with subscribers' data. Must include a header row with at least an 'email' column. Optional columns: 'first_name', 'last_name', 'tags', and custom attributes.
If true, existing list members not present in the CSV will be unsubscribed. Use with caution. Defaults to false.
If true, previously unsubscribed emails will be resubscribed. Defaults to false.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_UPDATE_TAGTool to update an existing tag within an email list. Use when you need to modify the name or visibility of a tag after verifying its existence.
Input parameters
New name for the tag
UUID of the tag to update
UUID of the email list containing the tag
Whether this tag should be shown in subscriber preference settings
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
MAILCOACH_UPDATE_TEMPLATEUpdates an existing email template in Mailcoach. Use this to modify a template's name, HTML content, or structured HTML. The template UUID is required - get it from the Get All Templates action. Only the name is required; other fields are optional. Returns the updated template with its ID, content, and timestamps.
Input parameters
The template's new HTML content. Supports Mailcoach placeholders like {{ subscriber.first_name }}. If not provided, existing HTML content is preserved.
The template's new name (required). Use a descriptive name like 'Welcome Email' or 'Monthly Newsletter'.
UUID of the template to update. Get template UUIDs using the Get All Templates action.
Structured HTML content (e.g., MJML format) for visual email builders. Set to null to clear, omit to preserve existing value.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
No publicly available marketplace agent is found using this tool yet. There are 65 agents privately built on Nagent that already use Mailcoach.
Build on Nagent
Connect Mailcoach to any Nagent agent in minutes — no API key management, no boilerplate. Just configure and deploy.
The five questions agent builders ask before adopting a new integration.
Open the External Integrations panel inside Nagent (app.nagent.ai/externalIntegration), find Mailcoach, and click "Connect Now." You'll authenticate with an API key — Nagent handles credential storage and refresh automatically. Once connected, Mailcoach is available to any agent in your workspace.
No. Nagent provides no-code integration for every tool. Once Mailcoach is connected, you configure its 56 actions directly in the agent builder UI — no API calls, no boilerplate, no schema management.
Helix — Nagent's agentic agent builder — lets you drop Mailcoach steps into any workflow visually. Pick an action (e.g., one of those listed above), fill in the inputs (Helix knows the required vs. optional schema for each parameter), and connect it to upstream/downstream steps. Triggers run as the entry point of an agent, so when a Mailcoach event fires, the agent kicks off automatically.
Every Mailcoach action and trigger ships with a fully-typed schema — input parameters with name, type, required flag, and description, plus the output payload shape. The schemas are documented in the sections above. Helix uses these schemas to validate your configuration at build time and to type-check the data flowing between steps.
Yes. While Mailcoach ships with 56 pre-built email newsletters actions, you can layer custom logic around them inside Helix — pre/post-processing steps, conditional branches, retries, or stitching Mailcoach together with other connected tools. For deeper customization, talk to our team about Nagent's Agentic AI Lab — forward-deployed engineers who build Mailcoach-based workflows tailored to your business.