With Mailsac, it's super easy to interact with email via REST API, webhooks and websockets. You can reserve and release email addresses, check messages, download attachments, and route mail.
All API endpoints can be found in the API Documentation
You can use curl to view emails sent to email@example.com
.. literalinclude:: intro_curl.bash :language: bash :lines: 1
Information about the most recent email is returned as JSON
.. literalinclude:: intro_curl.bash :language: bash :emphasize-lines: 1 :lines: 2-35,49-51
This may look for more information than you need. But it provides a great example of all the hard work mailsac has done to make parsing of email easier.