Integrate Cooper Email with Mailtrap to automate workflows, sync data between apps, and eliminate repetitive tasks with AI-powered automation.
Get Contact Lists from Mailtrap when New Email Sent in Cooper-email
Create Contact in Mailtrap when New Email Sent in Cooper-email
Create Contact List in Mailtrap when New Email Sent in Cooper-email
Delete Contact List from Mailtrap when New Email Sent in Cooper-email
Delete Contact in Mailtrap when New Email Sent in Cooper-email
Start from a real workflow other teams are already running.
Cooper Email
When this happens...
New Email Sent
New Bounce or Complaint
Mailtrap
Automatically do this!
Get Contact Lists
Create Contact
Create Contact List
Delete Contact List
Delete Contact
Update Contact
Delete Contact Field
Send Transactional Email
List Sandbox Messages
Retrieve Test Email
Retrieve Test Email Text Body
Get Sandbox Email HTML Body
Check Test Email Spam Score
Analyze Test Email HTML
Forward Test Email
Mark Test Email as Read
Delete Test Email
Clear Sandbox Inbox
Send Sandbox Email
Get Contact Lists from Mailtrap when New Email Sent in Cooper-email
Use this flowCreate Contact in Mailtrap when New Email Sent in Cooper-email
Use this flowCreate Contact List in Mailtrap when New Email Sent in Cooper-email
Use this flowDelete Contact List from Mailtrap when New Email Sent in Cooper-email
Use this flowDelete Contact in Mailtrap when New Email Sent in Cooper-email
Use this flowUpdate Contact in Mailtrap when New Email Sent in Cooper-email
Use this flowDelete Contact Field in Mailtrap when New Email Sent in Cooper-email
Use this flowSend Transactional Email via Mailtrap when New Email Sent in Cooper-email
Use this flowList Sandbox Messages from Mailtrap Sandbox when New Email Sent in Cooper-email
Use this flowRetrieve Test Email from Mailtrap when New Email Sent in Cooper-email
Use this flowEverything you can automate between Cooper Email and Mailtrap.
When this happensTriggers
A trigger is an event that starts a workflow.
Runs when an email is sent from the selected inboxes, or from any inbox on the account if none is selected. Each event returns the full sent message (sender, recipients, subject, text and html, labels, thread and inbox IDs). Note: Select at most 10 inboxes; leave the field empty to watch every inbox. Note: Cooper's webhook test delivery is ignored and does not start a flow.
Runs when a sent email bounces or gets a spam complaint in the selected inboxes. Each event carries event_type (message.bounced or message.complained), message_id, inbox_id, thread_id, bounce_type and recipients. Note: Select up to 10 inboxes, or leave Inboxes empty to watch every inbox on the account. Note: Turning the flow on creates a Cooper webhook for this flow, and turning it off removes it.
Runs when an email is delivered to the recipient's mail server for a chosen sending stream or domain.
Runs when a recipient opens an email in the selected sending stream.
Runs when a new email arrives in a selected Mailtrap Inbound Email inbox. Includes the sender, recipients, subject, headers, text and HTML bodies, and attachments. Webhook signatures are verified before the flow runs.
Runs when a contact unsubscribes from emails in the selected sending stream.
Action is the task that follows automatically within your Cooper Email integrations.
Reply to an email on the same thread and get back the sent reply, optionally to all original recipients. Note: Text Body or HTML Body is required. The subject is always Re: plus the original subject and cannot be set. Reply All adds the other original recipients and merges Cc, and fails if no recipient is left. The inbox signature is added unless Include Signature is No. Running again with the same Idempotency Key or Client ID returns the original reply and does not send again.
Send an email from a Cooper inbox to one or more recipients, with text or HTML, cc, bcc, attachments and optional thread reply, and get back the sent message. Note: To and either Text Body or HTML Body are required. Attachments are a JSON array with base64 content. The inbox signature is added unless Include Signature is No. Running again with the same Idempotency Key within 24 hours does not send a second email.
Search the messages of a Cooper inbox by words and get back the matching messages in the data list, with the matched words marked in a highlights field. Note: Returns up to Limit messages (default 25, maximum 100) and cannot page further. Matched words in highlights are wrapped in **. Nothing found returns an empty data list.
Forward an email to new recipients on a new thread, with an optional note above it, and get back the sent message. Note: The subject is always Fwd: plus the original subject and cannot be set; attachments are copied unless Include Attachments is No.
Create a new Cooper email inbox for an agent, project or customer, and get back its id, address and settings. If the username already exists, that inbox is returned instead of a new one; leaving the username empty lets Cooper pick one. Note: Set an expiry with either Expires In Hours or Expires At, never both; only the one chosen in Expiry Type is sent.
Add or remove labels on a message, such as marking it read. Note: Only the read and unread labels can be changed, and a label cannot be in both Add Labels and Remove Labels. To mark a message read, remove unread and optionally add read. Choose at least one label to add or remove.

Follow a simple walkthrough to create, test, and launch your first automation.
Connect your apps
Link the apps you want to automate.
Configure your workflow
Set up triggers, actions, and map your data.
Test & publish
Test your workflow and publish it.
Recognized by leading review platforms and trusted by 10,000+ businesses worldwide.
Just describe the task in plain English. viaSocket AI selects the right apps, builds the workflow, maps the fields, and prepares everything for review before you publish.

Explore viaSocket, a no-code AI-powered automation platform that connects 2,000+ apps to automate repetitive tasks. Learn how it works, set up triggers and actions, and start automating your day.

Five practical automation hacks to cut repetitive tasks and boost productivity using viaSocket, covering lead generation, onboarding, accounting, support, and HR.

Explore workflow automation: its definition, benefits, how it works, real-world examples, and how to automate with viaSocket.

Discover what webhooks are, how they work, and when to use them. Compare push-based webhooks with APIs and polling, with practical examples and ViaSocket integration.
viaSocket Support
We're here to help
Instant answers
AI assistant available 24/7
Expert support
Connect with our specialists
Trusted & secure
Your data is safe with us
No credit card required. Set up your first workflow in minutes.
Cooper Email is an email API that gives each AI agent its own inbox to send, receive, search and reply to email.
Learn moreMailtrap is an email delivery platform covering email sending (API/SMTP) bundled with inbound email, also featuring email testing (Sandbox), and Email Marketing. It's used by developer and product teams for transactional and bulk email delivery and offers reliable sending tools with built-in deliverability protection, including separation between transactional and bulk email, automatic authentication setup, and analytics insights broken down by mailbox provider.
Learn moreSign up for a free viaSocket account, then authorize both your Cooper Email and Mailtrap accounts. From there, pick a trigger in one app and an action in the other. Your first workflow can be live in under five minutes.
Yes. viaSocket uses instant triggers where available, so data moves between Cooper Email and Mailtrap as soon as the event happens. Scheduled polling triggers run at a maximum interval of 15 minutes.
Yes. You can map specific fields, apply filters to skip records that do not match your conditions, and transform values before they reach Mailtrap. No coding required.
Yes. You can set up a workflow where Cooper Email triggers actions in Mailtrap, and a separate workflow where Mailtrap triggers actions in Cooper Email. Both run independently and in real time.
viaSocket logs every run so you can see exactly what succeeded and what failed. Failed tasks can be retried from the dashboard without re-configuring the workflow.
Yes, there is a free plan that covers basic workflows between Cooper Email and Mailtrap. Paid plans unlock higher task limits, faster polling, and advanced features like multi-step workflows and conditional logic.
No. The entire Cooper Email and Mailtrap integration is built through a visual, point-and-click interface. Code blocks are available if you want them, but they are never required.