Email Template Editor Saves Blank Content
You designed an email template in your Base44 app's editor with content, formatting, and dynamic variables, but when the email actually sends, it arrives completely blank or with missing content. The template preview looks correct, but the delivered email is empty.
This creates a terrible impression with your users. They receive professional-looking emails with your branding but zero content — no order details, no welcome message, no information at all. It looks like your app is broken, because it is.
The issue may affect all emails or only those with dynamic content (merge fields, conditional blocks, or images). Sometimes the subject line sends correctly but the body is empty.
Error Messages You Might See
Common Causes
- Template variables not resolved — Dynamic fields like {{customer_name}} are not populated because the data isn't passed to the email renderer
- Rich editor saves visual but not HTML — The WYSIWYG editor shows content in preview but doesn't save the underlying HTML correctly
- Conditional blocks hiding all content — An if/else block in the template evaluates to false, hiding the entire email body
- HTML encoding issues — The template HTML gets double-encoded, rendering as escaped tags instead of formatted content
- Template not saved after editing — Changes in the editor weren't committed with the save button, so the old (empty) template is used
How to Fix It
- Send a test email to yourself — After saving the template, send a test email and check the raw HTML source of the received email
- Verify variable names match data fields — Ensure template variables ({{order_id}}) exactly match the field names passed from your workflow or data source
- Check the saved template source — View the raw HTML of the saved template to verify content was actually saved, not just displayed in the editor
- Simplify the template — Remove conditional blocks and dynamic content, save a plain text template, and verify it sends correctly before adding complexity back
- Test with hardcoded content — Replace all dynamic variables with static text to determine whether the issue is with the template or the data binding
Real developers can help you.
You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.
Get HelpFrequently Asked Questions
Why does my Base44 email preview look correct but the sent email is blank?
The editor preview may render content client-side that isn't actually saved to the template. Check the raw saved template source. Also verify that dynamic variables are being populated from the correct data source when the email actually sends.
How do I debug which template variable is causing the issue?
Replace all dynamic variables with static text and send a test. If it works, add variables back one at a time. The variable that makes the email go blank is either misnamed or receiving null data.