Gmail delivery
The Gmail delivery sends documents generated by your process as email attachments. Before configuring the delivery, connect your Gmail account in Plumsail account.
Main settings
Once connected, configure the Gmail delivery settings.
Add recipients to the To field. You can also specify Cc and Bcc as needed. See how to specify recipients dynamically based on your data.
Specify the Subject and Body. See how to use tokens inside these fields.
Advanced settings
Expand the Advanced section to configure:
Display name. The name shown to recipients. By default, it matches your Gmail account name, but you can change it.
Reply-to. By default, this is your connected Gmail address. You can replace it with another email address.
Use tokens to specify recipients
You can specify recipient email addresses manually or use tokens. The data passed to the process determines who receives the document.
The email token can contain a single address or a list of addresses separated by commas:
{
"email": "john.smith@contoso.com, adam.allman@contoso.com"
}
Use tokens in email subject and body
You can insert values from your data using tokens.
Click { } to open the list of available tokens.
For example, if your data contains a property called address, insert it using the token {{address}}.
Tokens work the same way as in document templates and also support value functions.
You can also use predefined tokens:
{{@date}}- the current date and time{{@number}}- the current document number.
Use rich text in email body (Modern engine)
If you use the Modern engine in your template, you can create more advanced email content using tokens.
For example, you can build tables or lists in the email body using data from tokens to create more personalized messages. This allows you to iterate over collections and display data in a structured way.
See the Build dynamic email content article for details and examples.
Note