- Quick tips
How to Improve Holiday Supply Chain Communication with Email
We believe in giving our customers full transparency into what is happening with their emails. That is why we show our customers what is happening with each and every email that gets sent or received through Mailgun with Logs.
Recently, we’ve been working on improving log data by giving customers even more data and enhancing the experience of retrieving that data. Like almost all features at Mailgun, the first interface we build is the API, with the GUI to follow. We are pleased to announce the private beta release of our Events API, which will be the foundation for Logs and other reporting in the future.
So how did we improve on Logs?
Previously, we just had simple skip and limit parameters to specify which portions of the logs you wanted to fetch. This was cumbersome and resulted in poor performance characteristics. With the new Events API, we’ve provided parameters that allow you to specify a time period in addition to the ability to specify ascending or descending. We also provide URLs in the response for retrieving the next and previous pages, giving you the ability to easily traverse log data.
Previously, you could only fetch all of the log data within the specified skip and limit parameters. Then you’d have to filter the data on your side. The Events API allows for filtering the data by a bunch of additional parameters and the ability to combine expressions in order to create complex queries.
Previously, with the Logs API, we only included information that happens to your email until it is accepted by the recipient email server or dropped. You could get the other events through the Campaigns API but we thought it would better to include all events in one easy to use API. The Events API allows you to query for all events, including those that occur after delivery like opens, clicks, unsubscribes and spam complaints.
Free for you my friend. For free accounts, we retain events for 2 days. For paid accounts, we retain events for 30 days. If you need retention for longer than that, contact us to discuss your needs.
If you are interested in playing with the Events API, feel free to send us an email: events-api@mailgun.net with your github handle and we’ll give you access to the private docs.
We hope this release dramatically improves the experience of tracking your emails. Please provide any feedback!
Happy sending! Mailgunners
Learn about our Deliverability Services
Looking to send a high volume of emails? Our email experts can supercharge your email performance. See how we've helped companies like Lyft, Shopify, Github increase their email delivery rates to an average of 97%.
Last updated on May 04, 2021
How to Improve Holiday Supply Chain Communication with Email
What Is a RESTful API, How It Works, Advantages, and Examples
Email’s Not Dead Season 3 Is Finally Here
Continuing Our Commitment: HTTPS Innovation And Optimization
Easier and Faster Implementation with Our Updated SDKs
The Difference Between SMTP and API
When Should You Use An Email API?
Inbox Placement - Delivery Made Simple
Together At Last: Postman Meets Mailgun
Same API, New Tricks: Get Event Notifications Just In Time With Webhooks
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Become an Email Pro With Our Templates API
Google Postmaster Tools: Understanding Sender Reputation
Navigating Your Career as a Woman in Tech
Implementing Dmarc – A Step-by-Step Guide
Email Bounces: What To Do About Them
Announcing InboxReady: The deliverability suite you need to hit the inbox
Black History Month in Tech: 7 Visionaries Who Shaped The Future
How To Create a Successful Triggered Email Program
Designing HTML Email Templates For Transactional Emails
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Implementing Dmarc – A Step-by-Step Guide
Announcing InboxReady: The deliverability suite you need to hit the inbox
Designing HTML Email Templates For Transactional Emails
Email Security Best Practices: How To Keep Your Email Program Safe
Mailgun’s Active Defense Against Log4j
Email Blasts: The Dos And Many Don’ts Of Mass Email Sending
Email's Best of 2021
5 Ideas For Better Developer-Designer Collaboration
Mailgun Joins Sinch: The Future of Customer Communications Is Here
Always be in the know and grab free email resources!
By sending this form, I agree that Mailgun may contact me and process my data in accordance with its Privacy Policy.