Yes, Mailgun is an API-based service. It features a RESTful HTTP-based email sending API and supports multiple programming languages. This allows you to plug email sending and receiving into any app. Mailgun also offers other APIs. Its Template API lets you import HTML templates from other editors. And create, manage, and use different versions of your own templates. The Events API tracks metrics for every email you send.