SaaS Workflows Send Email Action - Struggling to allign image to right

Hello,

I have begun sending emails from workflows. I have everything looking really good, but I can’t seem to get my company logo to align to the bottom right of the email. This is currently the last line of my email body right now.

<img src="https://fakelogo.png" alt="Fake logo" style="float:right;">

I have submitted a support ticket now as well. Hoping it is just something odd about how the HTML body works in the send email action.

Workflows uses an HTML sanitizer. It looks like the img tag doesn’t allow the style attribute. However, you might be able to wrap the img in a div block and apply the style to your div. See this post for more information on the HTML sanitizer.

1 Like

Updating it to the following as suggested worked.

<div align='right'>
<img src="https://fakelogo.png" alt="Fake logo">
</div>

Thank you, Colin.

1 Like

I realized I put the syntax in here incorrectly. What does work is the following:

<div style="text-align:right">
<img src="https://fakelogo.png" alt="Fake logo">
</div>
1 Like