Content relevant to send email notifications
EmailNotification object has the following fields:
Type: contains email type
CustomerId: contains Customer id
Notification object
Variables: Contains the available variables for this email type
Receiver: Contains the Ids of the entities that will receive the email
Subject: Contains specific variables to be included in the subject or a fixed subject text
Attachment: Contains any attachment to be sent with this email type
You can also send an email to multiple receivers, with each receiver having unique variables such as usernames for example.
Variables like usernames can be included in the subject. Toqio will send you the subject per email notification so that you do not have to create one if you decide to use Toqio default one.
The variables are structured with a key, such as "userId," and an object as the value, which could be an Integer, Double, or String. This approach allows for complete customisation of the data to suit each recipient's unique information.
If you need to use variables that are not included into a particular email type you will be able to make a call to our public API to request this information authenticating against Toqio API.