RichTextEditor Email Formatting Not Applied When Sending via Retool

Goal:

I want to send an email using the richTextEditor component in Retool. The goal is to allow users to compose a formatted email with HTML styling (bold text, links, lists, etc.) and send it using a Retool email resource while preserving the formatting.

Steps:

  1. I set up a richTextEditor component in Retool for composing emails.
  2. I configured the email send resource in Retool and set the content type to HTML.
  3. I passed the richTextEditor value as the email body.
  4. However, when the email is received, the formatting is lost, and it appears as plain text instead of an HTML-formatted email.

Details:

  • Retool Component: richTextEditor
  • Email Sending Method: Retool's built-in email resource
  • Configuration:
    • richTextEditor output is stored as HTML
    • Email resource is set to send content as HTML
  • Issue: Despite setting both components to handle HTML, the received email does not apply the expected formatting.

Screenshots:

richTextEditor Preview:

Email Preview :

2 Likes

Hi @WidleStudioLLP,

Which specific HTML stylings are missing? It looks like the email preview has the bulleted lists, 'To-Do List' and 'Smart System' are a larger font as headers, and I don't see any links in the richTextEditor.

The main difference between the two is the width of the text, where in Retool it is more narrow, in gmail it is wider and more text can fit on a line before wrapping.

I just tested out all the styles that can be applied in a richTextEditor component and they seem to be reflected in the email sent.

If you can give me more details on exactly which formatting styles are missing I can do further testing and see if there is a bug!