Home / Companies / Permit.io / Blog / Post Details
Content Deep Dive

Send Emails via Mailgun’s API directly from the browser

Blog post from Permit.io

Post Details
Company
Date Published
Author
Shuvy Ankor
Word Count
1,319
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

Frontend developers can now directly use Mailgun’s API to send emails from the browser without backend code, utilizing an open standard called Frontend Only Authorization (FoAz). FoAz provides a secure method for API calls by verifying identity, checking permissions, and handling secrets on the frontend, thus bypassing the need for a backend server. This integration allows specific users, such as marketing managers, to send emails by defining permissions with tools like Permit.io, streamlining the process and maintaining access control. In an e-commerce scenario, sales managers can directly send discount coupons via email while maintaining the existing server-side permissions model. FoAz facilitates this by allowing frontend authentication with JSON Web Tokens (JWT) and direct API access, significantly reducing development time and enhancing the efficiency of frontend applications.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 1 1,233 99 56 +30%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.