Email Body Template Formatting

Hi guys,

I simply cannot get the Google Doc email body template to behave. In the document everything looks fine, but as soon as you attempt to use that template, if there’s a table in it it just behaves terribly. It seems to intefere with all the formatting of the document below it.

In the doc everything is aligned and correclty spaced:

In the email there’s huge spaces and everything is misaligned:

Can anyone offer any suggestions? It’s not the margins, they don’t change.

One thing you may want to try is if those titles “Upcoming…” , “Incident…”, “Driver…” are set as Headings in the template, you could try to set them as plain text with necessary higher font size and making those bold to look like headings.

1 Like

Thanks for the suggestion. I wish I could say that was the fix, but I’m seeing the same strange alignment with everything as ‘Normal text’ too :frowning:

I did have the wild idea overnight to put the entire thing into a table, so I’m trying that out now.

1 Like

Oops. Do those tables contain template expressions, meaning do those tables display data from the app ?

On my quick test , the headings seem to be placed in a satisfactory manner above the tables in the PDF produced.

Relevant template part:

Here I placed the heading in (text format) still closer to the table and seems to work well.

Template:

2 Likes

Yes, you’re right, I’m using the template to display data. This was the exact table I was trying to insert that was causing everything to misalign

Honestly, I think I may be the problem here. I even wiped the doc and created a new template, but they never seem to align correctly. I’m creating an email, rather than a PDF, but that shouldn’t make any difference, should it?

The only way I have been able to get everything aligned as I’d like is by making the entire page a table, which once you hide the lines, looks the same anyway lol

1 Like

Yes, that is a good, nice workaround approach I was about to suggest that. I faintly recollect a similar post I participated a few years ago. I will post it if I can locate it.

With email, yes, you are right, it could be a different spacing. I moved away from my desk just now. I will post email test results and other post later. Currently responding from mobile.

2 Likes

Well, here is the post I mentioned earlier

Solved: HTML Formatting Coming in Wonky - Google Cloud Community

Below is the testing performed on Email. There also the heading (normal text) “Product Details” does not create space. However the heading Customer is based on Heading 1 and it has more space between heading and other fields.

Edit: And observations in the post below most of them by @Lynn and a few by me were also relevant for inclusion in help documentation.

Hi Everyone, Does anyone know why I am getti… - Google Cloud Community

1 Like