Skip to main content

Schema

Emails intended to be sent via AWS are stored for processing in two separate objects, Email Send (seven20__Email_Send__c) and Email Envelope (seven20__Email_Envelope__c). The Email Send object contains the email message content, while the Email Envelope contains the email message metadata. For a single send, there will be one Email Send record and one Email Envelope record, however for mass sends, there will be one Email Send record and multiple Email Envelope records related to it.

Email Send

Field LabelField Api NameDescription
Send Group Idseven20__Send_Group_Id__cA unique UUID for the mass email send, this is used to group the envelope records together
Subjectseven20__Subject__cThe email subject line
Body / Templateseven20__Body__cThe contents of the email, which has not yet had merge fields rendered
To Addressesseven20__To_Addresses__cA JSON formatted list of recipients in the To line, these can be email addresses, contact Ids or user Ids
CC Addressesseven20__CC_Addresses__cA JSON formatted list of recipients in the CC line, these can be email addresses, contact Ids or user Ids
BCC Addressesseven20__BCC_Addresses__cA JSON formatted list of recipients in the BCC line, these can be email addresses, contact Ids or user Ids
Attachment Idsseven20__Attachment_Ids__cA JSON formatted list of Attachment Ids to be included in the email, these point to seven20__Document__c records
Created ByCreatedByIdThe user who created the Email Send record, they will be the FROM address
Is Mass Emailseven20__Is_Mass_Email__cIndicates whether this is a mass email or not, if it is, i.e. it has multiple envelope records associated to it
Total Email Countseven20__Total_Email_Count__cThe total number of emails that will be sent when this email send is processed
Statusseven20__Status__cThe current status of the email send, this is updated as the email is processed
Last Tracking Updateseven20__Last_Tracking_Update__cThe date and time that the email tracking information was last updated
Next Tracking Updateseven20__Next_Tracking_Update__cThe date and time that the email tracking information will be next updated

Email Envelope

Field LabelField Api NameDescription
Email Idseven20__Email_Id__cA unique UUID for individual email to be sent
Email Sendseven20__Email_Send__cA lookup to the Email Send record that this envelope is related to
Who Idseven20__Who_Id__cThe Id of the recipient of the email, e.g. the candidate or hiring manager being sent to
What Idseven20__What_Id__cThe Id of the record that the email is related to, this is used in rendering the email body contents
To Addressesseven20__To_Addresses__cA JSON formatted list of recipients in the To line, these can be email addresses, contact Ids or user Ids
CC Addressesseven20__CC_Addresses__cA JSON formatted list of recipients in the CC line, these can be email addresses, contact Ids or user Ids
BCC Addressesseven20__BCC_Addresses__cA JSON formatted list of recipients in the BCC line, these can be email addresses, contact Ids or user Ids
Send Statusseven20__Send_Status__cThe current status of the email send, this is updated as the email is processed
Openedseven20__Opened__cIndicates whether the email has been opened or not
First Openseven20__First_Open__cThe date and time that the email was first opened
Last Openseven20__Last_Open__cThe date and time that the email was last opened
Open Countseven20__Open_Count__cThe number of times that the email has been opened
Bouncedseven20__Bounced__cIndicates whether the email has bounced or not, this can be for one or many of the addresses listed on the envelope record
danger

Creating these records outside of Seven20 functionality is not currently supported.