The Emails API allows you to get information from the Platform data model to customize and extend the design of your Emails.

To use this API simply reference the Emails eSpace using the References Window in Service Studio.

With this API your can, for example, do the following:

The information about your emails is obtained by querying System entities. As such, you must add references to those entities to your eSpace.

Entities Storing Definitions

The Email_Definition entity stores the definition of your Emails.

Entities Storing Runtime Data

The runtime data of all elements related with Emails is stored in the following entities:

Sent_Email: the runtime data of emails generated by the Send Email, which is fetched by the OutSystems Scheduler Service that effectively sends emails;

Email_Content: email content of each email in the Sent_Email entity;

Email_Status: the sending status of each email in the Sent_Email entity.

See Also

About Emails | About APIs