I am trying to get email of related values in a Table format through HTML Code in the Email Body (Bots → Events → Run this process). I’m encountering an issue with Gmail’s rendering of my email templates, when using HTML Code. When I send out emails, I’m consistently noticing a significant amount of space before the table containing the content. I’m at a loss for why this is happening and how to fix it.
Has anyone else encountered a similar issue with Gmail’s rendering? If so, could you please share any insights or solutions that might help me resolve this spacing problem? I’d greatly appreciate your input and expertise.
Thank you in advance for your help!
And here is the HTML Code, that is present in the Email Body
You could check if there are any CSS properties that you could use to manipulate the space around the table. Also, seeing that you are using Gmail, you could use a Google Docs template. In GDocs you simply change the page margins to control that distance.
@lizlynch For no reason this started to happen. Using the right HTML code ended with issues, not rendering the content as expected. This is not the first user I saw having the same problem
If there is a large gap between the email preheader and the email body text, try the following:
Set all page margins to 0.
Set the Page Setup to A4
Can you try this to see if it works to address your issues? Otherwise, I can check with the AppSheet dev team. Though, I suspect the best plan would be to contact Support for assistance so they can potentially gain access to your app to help troubleshoot.
I know this subject is closed, but I tried the proposed solution and it doesn’t work.
I found a solution it’s strange, but it works.
When you are creating your table with code, instead of writing the code like this:
Name
Company
Checkin Time
<>
<>
<>
Put the code like that:
<> <>
Name
Company
Checkin Time
<>
<>
<>
It’s working, and the best way to put the code like that is to copy and paste it into the ‘Email Body Template’. This will format the code, and then you can copy and paste the code again from this field into the body. That should work perfectly.