Which api I can use to read the email body/ email content

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://mailsac.com/api/text/[email protected]/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 [2]
Our Partnership
Program*  READ MORE [3]
* Our Worldwide Partners*  READ MORE [4]
* Our Customers success story*  READ MORE [5]
None [6]  None [7]  None [8]  None [9]
Unsubscribe [10] | Contact [11]
2018 All Rights Reserved



[1] https://www.odoo.com/r/erT/m/12928017
[2] https://www.odoo.com/r/X6Q/m/12928017
[3] https://www.odoo.com/r/so8/m/12928017
[4] https://www.odoo.com/r/fya/m/12928017
[5] https://www.odoo.com/r/jlI/m/12928017
[6] https://www.odoo.com/r/dlt/m/12928017
[7] https://www.odoo.com/r/25S/m/12928017
[8] https://www.odoo.com/r/Vcu/m/12928017
[9] https://www.odoo.com/r/nKf/m/12928017
[10] https://www.odoo.com/unsubscribe_from_list
[11] 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 :email inbox.

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