Odoo ERP

Odoo Email Templates That Actually Land in the Inbox

A practical guide to configuring Odoo email templates: outgoing mail servers, document placeholders, and bilingual Thai/English versions that reach customers.

Tech After Me CEOCEO & Odoo ConsultantPublished 6 min read
Share
Odoo Email Templates That Actually Land in the Inbox
On this page

Most Odoo projects get the business logic right and then lose goodwill on something small. The quotation email lands in spam. The invoice reminder reads like a translated robot. Odoo email templates are not an afterthought feature. They are the last thing a customer sees before deciding whether to trust the document attached to it, and getting them right takes more than typing a subject line.

This is how we set up Odoo email templates in practice. We start with the mail server layer that decides whether a message arrives at all. Then we move to the placeholders that pull real data onto the page, and finally the bilingual structure that Thai and English customers both read as natural, not translated.

Start with the outgoing mail server, not the template

Before touching a single template, we check what server is actually sending the mail. Odoo lets you configure one or more outgoing mail servers under Settings > Technical > Email > Outgoing Mail Servers. This choice affects deliverability more than any wording decision inside the template itself.

A few things we verify on every project:

  • The sending domain has correct SPF, DKIM and, ideally, DMARC records published in DNS. Without these, mail providers like Gmail and Outlook increasingly route the message straight to spam, regardless of content.
  • The "from" address on transactional templates matches a domain the company actually controls. It should not be a generic odoo.com test address left over from a demo database.
  • Bulk or marketing sends are routed through a separate server or provider account. A bounce spike from a newsletter can damage the sender reputation of the address customers rely on for their invoice.
  • The default outgoing server set at company level matches what we expect. On multi-company databases it is common to find one company silently falling back to a server configured for another entity.

This part of the work has nothing to do with Odoo-specific skill. It is standard email infrastructure. Treating it as an afterthought is the single most common reason a perfectly good template never reaches anyone.

How Odoo email templates are structured

An email template in Odoo is tied to a model: invoice, sales order, purchase order, delivery, and so on. Each template stores a subject line, a body in the QWeb templating language, and optional attachments such as the invoice PDF or a signed quotation. The focus keyword here, Odoo email templates, really describes a family of records rather than one setting. Each document type behaves slightly differently when triggered.

Templates are reused across three common trigger points:

  1. Manual send from the document itself, where a user clicks Send by Email and reviews the content before it goes out.
  2. Automated send, for example an invoice email triggered at validation, or a sales order confirmation triggered at signature.
  3. Scheduled actions, such as a payment reminder sequence that checks overdue invoices on a daily cron and selects a template based on how many days the invoice has been overdue.

Knowing which trigger applies matters. Manual sends tolerate a slightly longer, more conversational template. Automated sends need to be shorter and dependable, since no human reviews them before they leave the system.

Placeholders: what to pull, what to leave out

Placeholders are the dynamic fields inside the QWeb body: the customer name, the invoice number, the amount due, the due date. The temptation is to add every available field because the editor makes it easy. We push back on that instinct for a specific reason. A placeholder resolves to nothing, or to "False", when the underlying field is empty. A visible gap or stray word in a sent email looks worse than a template with fewer fields.

A reliable rule we follow: only place a field in the template body if it is required at the model level, or if we can confirm it is populated for close to 100% of records that will trigger this template. Optional fields, like a secondary contact person or a custom note field, belong in a conditional block that only renders if the field has a value, not as a bare placeholder.

DocumentSafe placeholdersUse with caution
Invoicepartner name, invoice number, amount due, due datepayment term label if customized per contract
Sales ordercustomer name, order reference, order total, salespersondelivery address if shipping to a third party
Delivery ordertracking reference, carrier name, expected datecustomer notes field (often blank)
Payment reminderdays overdue, invoice list, total outstandinglast payment date (null for new customers)

This is also where we point clients toward our Odoo customization services when the standard template structure is not enough. Conditional blocks, multi-currency formatting and per-partner branding rules usually require touching the underlying QWeb, and sometimes a small server-side method rather than the drag-and-drop editor. Teams weighing whether to extend the editor or write actual code can see our broader reasoning in configure first, code last.

Bilingual templates: why one template in two languages does not work

Odoo supports translating a template string by string. The system serves the version matching the partner's language if translations exist. In practice, a single template translated field-by-field often reads stiff in Thai. Sentence structure and the level of formality differ from the English original rather than mapping one to one.

We build two separate templates per document type instead of one translated template. One is a Thai version written with natural phrasing for Thai business correspondence. The other is an English version for international or English-preferring customers. The trigger logic then selects the template based on the partner's language field, which is a small server action or an automated action condition rather than a core override.

This has a real cost: twice the templates to maintain. Every wording change on an invoice reminder means editing two records instead of one. We accept that trade-off because the alternative undermines the professional tone the email is supposed to project. A single awkwardly-translated template rarely reads as intended.

A few patterns worth matching specifically for Thai customers:

  • Reference the Thai tax invoice number alongside the Odoo-generated invoice number when e-Tax Invoice and e-Receipt documents are in use. Accounting teams on the receiving end will look for that reference first.
  • Keep the Thai subject line shorter than the English one. Long subject lines truncate differently across Thai mail clients and can cut off the invoice number.
  • Avoid literal translation of phrases like "Please find attached" that have no natural Thai equivalent. A native-sounding opening line reads better than a translated one.

Businesses running local marketplace channels alongside Odoo face a related version of this problem. Our post on Shopee order confirmation emails and stock sync covers how the same deliverability checks extend to channel-triggered messages.

Testing before go-live

Every template deserves a short test pass before it goes live for real customers. We treat this as a fixed step rather than something to skip when a project is behind schedule:

  • Send a test email to at least two personal mailboxes (Gmail and Outlook, at minimum) and check the spam folder, not just the inbox.
  • Confirm the PDF attachment generates correctly in both Thai and English company configurations if Thai legal text appears on the invoice layout.
  • Trigger the template through its real automated path, not just the manual send button. Automated sends sometimes use a different context and can render placeholders differently.
  • Check mobile rendering specifically. A two-column layout that looks fine on desktop often collapses badly on a phone screen, where most customers will actually open it.

None of this requires custom development in the majority of cases. It requires discipline: checking the mail server first, keeping placeholders to fields that are reliably populated, and accepting that two well-written bilingual templates beat one translated compromise. For teams running Shopee, Lazada or TikTok Shop alongside Odoo, the same deliverability checks apply to order confirmation emails triggered from those channels. Our guide to Lazada SKU mapping and stock reconciliation is worth reading if that email layer still needs auditing. If the mail server configuration itself feels unfamiliar, our Odoo support services page outlines how we handle that kind of setup work directly.

Share

Frequently asked questions

Why do emails sent from Odoo end up in spam?

Usually because SPF, DKIM or DMARC records for the sending domain are missing or misconfigured, or because the outgoing server used is a shared one with a poor reputation. Fixing DNS records and using a dedicated transactional mail provider solves most of these cases.

Can one Odoo template serve both Thai and English customers?

Not well. We recommend two templates selected by the customer's language field, because literal placeholder translation reads awkwardly and Thai business email has its own tone and structure that a single template cannot capture.

Which placeholders are safe to use in an invoice email template?

Fields that always exist on the record, such as partner name, invoice number, amount due and due date. Avoid optional fields like a secondary contact or a custom field that might be empty, since an empty placeholder leaves a visible gap in the email.

Do we need a developer to edit Odoo email templates?

No, basic edits use the built-in template editor with drag-and-drop blocks and placeholder insertion. A developer is only needed for conditional logic, multi-company branding rules, or templates triggered by custom automation.

Should every transactional email use the same outgoing mail server?

Not necessarily. Marketing and bulk emails are often better routed through a separate server or provider so a bounce spike there does not damage the reputation of the server sending invoices and order confirmations.

Sources

About the author

Tech After Me CEO

CEO & Odoo Consultant

The CEO of Tech After Me implements, customizes and supports Odoo ERP and builds web, mobile and data products for companies in Thailand, the USA and India.

More from this author

Keep reading

Odoo API Integration: XML-RPC, JSON-RPC and Auth BasicsOdoo ERP

Odoo API Integration: XML-RPC, JSON-RPC and Auth Basics

A practical guide to Odoo API integration: how authentication, XML-RPC and JSON-RPC calls work, and the patterns that keep external systems reliably in sync.

Tech After Me CEO6 min read

Put what you read into practice

The team writing these guides is the same team that ships them. Tell us what you are working on.

Get new articles in your inbox

Get new articles in your inbox

Odoo guides and IT news that matter to your business. At most one email a week.