When a manual cadence email step using the Gmail Integration is executed in a Cadence component, Salesforce invokes Gmail APIs to compose the email. Due to limitations in the Gmail APIs, Salesforce needs to insert space characters into the email template. For example, a sales rep sending a cadence email built with a copy-pasted HTML template might notice odd extra line breaks or spacing appear in the email actually received by the prospect, even though the template looked correct in the builder.
The presence of certain HTML tags or CSS style elements can interfere with this process, potentially causing emails to look different from the original templates:
<pre><code> `white-space: pre` `white-space: pre-line` `white-space: pre-wrap`
Note: Salesforce's email templates don't use these tags and style elements.
This issue may occur when all of the following conditions are met:
This article explains how to avoid formatting issues in Gmail Integration cadence emails caused by space-preserving HTML tags or CSS styles in the email template.
004633918

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.