A visitor to our website sent this question to our chat feature while we were unavailable.
Which api I can use to read the email body / email content?
GET /api/text/:email/:messageId is the endpoint used to read email body.
curl -H "Mailsac-Key: YOUR_API_KEY_HERE" https://firstname.lastname@example.org/Jn1wa9AwLigQwIbwUGyMMollJkeWSeUd-0
It will return the text section of the email.
Enjoy odoo partnership program and success pack sales combo! * Summer is around the corner! Odoo wishes to save your time and effort from complicated paperwork for more outdoor activities! Therefore, we are offering an exclusive discount for Partnership in MAY. Partnership program pricing at USD 2950 * and save USD 1000* on your joining! * *The discount offer is only applicable for the purchase with a success pack. Schedule a demo with Odoo Partnership Expert* BOOK NOW  Our Partnership Program* READ MORE  * Our Worldwide Partners* READ MORE  * Our Customers success story* READ MORE  None  None  None  None  Unsubscribe  | Contact  2018 All Rights Reserved  https://www.odoo.com/r/erT/m/12928017  https://www.odoo.com/r/X6Q/m/12928017  https://www.odoo.com/r/so8/m/12928017  https://www.odoo.com/r/fya/m/12928017  https://www.odoo.com/r/jlI/m/12928017  https://www.odoo.com/r/dlt/m/12928017  https://www.odoo.com/r/25S/m/12928017  https://www.odoo.com/r/Vcu/m/12928017  https://www.odoo.com/r/nKf/m/12928017  https://www.odoo.com/unsubscribe_from_list  https://www.odoo.com/r/rox/m/12928017
To read a specific message, the
messageId must be known. The
messageId can be found by using
GET /api/addresses/:email/messages endpoint. This endpoint will list all messages for a provided
The REST API - Getting Started section of the documentation includes code examples and detailed information on how to:
- Get Messages
- Read Message Bodies
- Send Messages