Top companies trust Zapier to automate work that solves their unique business problems—no coding required.
How Zapier works
Zapier makes it easy to integrate Mailgun with Microsoft Office 365 - no code necessary. See how you can get setup in minutes.
100%
Help
Mailgun
Mailgun
1. Choose trigger event
Microsoft Office 365
Microsoft Office 365
2. Choose action
1. Select the event
Setup
Test
Mailgun
Choose a trigger event
Choose a trigger
A trigger is the event that starts your Zap—like a "New Log Data" from Mailgun.
Add your action
An action happens after the trigger—such as "Add Attendees to Calendar Event" in Microsoft Office 365.
You’re connected!
Zapier seamlessly connects Mailgun and Microsoft Office 365, automating your workflow.
Supported triggers and actions
Zapier helps you create workflows that connect your apps to automate repetitive tasks. A trigger is an event that starts a workflow, and an action is an event a Zap performs.
New Log Data
Triggers when new log entries are found in Mailgun. Because this trigger uses polling, multiple log entries may be returned at once during each polling interval.
Triggers when an incoming email matches a Mailgun route. Automatically creates a route in Mailgun to forward emails to Zapier. Use Zapier Filters and Paths to process emails based on sender, subject, or content.
Create a new record or update an existing record in your app.
Distribution List
Required
User Email
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Calendar
Subject
Required
Start Date & Time
Required
End Date & Time
Required
All Day Event?
Description
Show me as Free or Busy
Attendees
Categories
Location
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Shared Mailbox
To Email(s)
Required
CC Email(s)
BCC Email(s)
Subject
Required
Body Format
Required
Body
Required
Attachment
Action for Files Larger Than 150MB
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Shared Mailbox
Folder Name
Required
Parent Folder
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Shared Mailbox
Email ID
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Shared Mailbox
Email ID
Required
Flag Action
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Shared Mailbox
Email ID
Required
Mark as
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Shared Mailbox
Categories to Remove
Required
Email ID
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Send From (Shared Mailbox)
Draft Email ID
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Shared Mailbox
Email ID
Required
Importance
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Contact Folder
Contact
Required
First Name
Last Name
EmailAddresses
BusinessPhones
HomePhones
MobilePhone
JobTitle
CompanyName
Department
Business Website URL
PersonalNotes
Street
City
State
Postal Code
Country or Region
Street
City
State
Postal Code
Country or Region
Street
City
State
Postal Code
Country or Region
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Calendar
Search Term
Required
Start Date & Time
End Date & Time
Action
This is an event a Zap performs.
Search
Find existing data in your app
Result_limit_info
Search_info
Search value
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Shared Mailbox
Email ID
Required
Attachment ID
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Email_info
Email ID
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
For AI agents & developers
Use Mailgun and Microsoft Office 365 with AI agents and code
Beyond Zap workflows. Call Mailgun and Microsoft Office 365 actions directly from your AI client or your codebase, using the same 9,000+ app integrations Zapier already runs.
No code
Connect via Zapier MCP
Expose Mailgun and Microsoft Office 365 actions as tools in any MCP client. Authenticate once, then call them in natural language.
Example actions on this page
Bulk Email Validation
Add Attendees to Calendar Event
Works with
Claude · ChatGPT · Cursor · any MCP-compatible client
There is no Python package yet. SDK is TypeScript-only (@zapier/zapier-sdk). The MCP server URL is personal to your account; get it at zapier.com/mcp.
Zapier is the automation platform of choice for 87% of Forbes Cloud 100 companies in 2023
93%
Customers who say using Zapier has made them better at their job
25m
Customers have created over 25 million Zaps on the platform
6 mins
The average user takes less than 6 minutes to set up a Zap
Connect Mailgun and Microsoft Office 365 to integrate crucial parts of your business
With Zapier, you can integrate everything from basic data entry to end-to-end processes. Here are some of the business-critical workflows that people automate with Zapier.
Automate your lead management and improve conversions
With Zapier, you can automate every part of your lead funnel and give yourself the best chance at converting leads. Automate everything from lead capture to outreach to reporting—and close more deals as a result.
Create more impactful campaigns with automation
Measuring campaign performance across platforms can get chaotic. Plus, digging up the right metrics costs you precious time and effort. With Zapier, you can create a centralized view of your performance, skillfully manage your lists, and ensure your campaigns drive ROI across the business.
Provide world-class support with a little help from automation
Support reps can't be productive when they have to track down crucial information for every incident or ticket. With Zapier, you can automatically send your reps the context they need to resolve tickets quickly and create a seamless customer experience.
Automate your way to actionable, up-to-date data
The days of manually exporting and importing data are over. With Zapier, you can send data where it needs to go, in the format you need it—so you can centralize your data and unlock more insights.
Resolve incidents faster with automation
Your technical support team wants to focus on tech tickets rather than admin work. With Zapier, you can automate everything from ticket creation to routing to inter-team communication—eliminating friction from incident management and increasing speed to resolution.
Learn how to automate Mailgun on the Zapier blog
Learn how to automate Microsoft Office 365 on the Zapier blog
Make work flow with AI
Level up your Mailgun to Microsoft Office 365 integration with AI. Extract, summarize, and transform your integration data with leading AI models like OpenAI, Anthropic, and more.
Frequently Asked Questions about Mailgun + Microsoft Office 365 integrations
New to automation with Zapier? You're not alone. Here are some answers to common questions about how Zapier works with Mailgun and Microsoft Office 365
How do I integrate Mailgun with Microsoft Office 365?
To integrate Mailgun with Microsoft Office 365, you will typically use a third-party service like ours to set up automated workflows that connect the two platforms. This involves setting triggers in Mailgun, such as an email received, and connecting it to actions in Office 365, like storing email data in Excel or creating calendar events from the information.
What triggers are available when using Mailgun with Office 365?
When integrating Mailgun with Office 365, you can set triggers based on events such as receiving a new email or tracking events for specific emails sent through Mailgun. These triggers activate actions within your chosen Office 365 applications.
Can I send automated emails from Office 365 using Mailgun?
Yes, you can set up a workflow where sending an email is triggered by an event in Office 365. For example, when a new item is added to a SharePoint list, it can trigger sending an email through Mailgun using our integration tools.
Is it possible to store received emails from Mailgun into OneDrive?
Absolutely. You can configure a workflow so that anytime an email is received via Mailgun, its contents or attachments are automatically saved to OneDrive. This is done by setting up the correct trigger-action pair in our platform.
How do I track sent emails via Mailgun in my Office 365 calendar?
By using our integration service, you can create a workflow where any tracked email action on Mailgun, such as deliveries or opens, prompts an entry or reminder in your Office 365 calendar.
Can I create tasks in Microsoft To-Do using information from emails processed by Mailgun?
Yes, by setting up automated workflows through our platform, specific details from emails processed in Mailgun can trigger task creations within Microsoft To-Do.
What should I do if there’s a problem with the integration setup between Mailgun and Office 365?
If you encounter issues while setting up your integration between Mailgun and Microsoft Office 365 using our tools, first confirm that all API keys and permissions are correctly configured. If problems persist, consult our support documentation for troubleshooting tips or contact customer support for further assistance.
About Mailgun
Mailgun is a tool with powerful APIs that allow you to send, receive, track and store email effortlessly. Except, with Zapier you don't have to write any code!
Microsoft Office 365 Business is a complete office suite in the cloud. It provides all the standard office products like Excel, Outlook, Word, SharePoint and more, but available from any internet enabled computer!
Zapier does not currently support Outlook.com addresses or Home 365 accounts, only business or Enterprise.