Email Marketing - Odoo 20 Community Book

Mailings Menu

The List of Mailings

Mailings shows all the mailings. The columns are the Date, the Subject, the Responsible person, the number Sent, and the percentages Delivered, Opened, Clicked and Replied, and the Status. Here we have a draft mailing for the spring sale, and two mailings that were sent earlier: Welcome to our new showroom and Autumn sale: last days. The list opens with the filter My Mailings. Remove it to see the mailings of other people.

A mailing has four statuses.

Draft: you are still working on it.

In Queue: you clicked Send or Schedule. The mailing waits to be sent. Odoo sends mailings with a scheduled action in the background. A mailing that was scheduled for a later date stays here until its time.

Sending: Odoo is sending the emails.

Sent: all the emails were handled. The results are shown on the mailing.

The three view icons at the top right show the mailings as a list, as a kanban board with one column for each status, or as a calendar. The calendar places each mailing on the day of its sending, so it helps you to plan the weeks.

odoo Development

Writing the Email

Click New in the Mailings menu, or click Use this on a template. The form of a new mailing is shown below. The numbers match the list.

odoo Development

1. Send sends the mailing now (see section 4.5).

2. Schedule sends the mailing at a date and time that you choose.

3. Preview shows how the email will look.

4. Test sends the email to a few addresses so that you can check it first.

5. The status bar: Draft, Sending, Sent.

6. Subject is the title of the email. People see it in their inbox. At the right of the subject, a small face icon adds an emoji, and a second icon, named Insert Field, adds a personal field such as the name of the person. Keep the subject short. The subject is Our spring furniture collection is here.

7. Recipients is the kind of record that you send to. The default is Mailing List.

8. Mailing Lists is the field where you choose the lists. The list shows how many people each list has. We chose Newsletter and Wholesale Customers.

9. The tabs Mail Body and Settings.

The tab Mail Body holds the email. If you did not start from a template, a gallery of designs appears first (see section 3). After you choose a design, the editor opens. The editor has the email on the left and three tabs on the right.

odoo Development

1. Undo and redo.

2. The phone icon shows the email as it looks on a phone. Most people read emails on a phone, so check it.

3. Save keeps your work, and Discard throws the changes away.

4. The tab Blocks. Blocks are ready-made pieces that you drag into the email. The big groups are Headers, Text, Images, People, Columns, Website and Footers.

5. The tab Style. It shows the options of the part that you selected.

6. The tab Design. It changes the look of the whole email.

7. A group of blocks. Drag a block into the email, and drop it where you want it.

8. Inner Content has small blocks to put inside a bigger part: Text, Alert, Separator, Text Highlight, Rating, Button, Image, Icon and Video.

9. The email itself. Click any text to write on it. Click a picture to replace it.

Here we kept the design Catalog and wrote the headline Spring Furniture Sale and a short text: Fresh looks for your home and office. Save up to 20% on desks, chairs and lamps until April 30. The logo and the picture are sample pictures. You can click them to change them for your own logo and your own products.

When you click a part of the email, the tab Style shows what you can change. For a block, the choices are the number of Columns, the Background Color and the Visibility (always visible, or only on a computer or only on a phone). A small bar above the selected block has arrows to move it up or down, a copy icon, and a bin to delete it.

odoo Development

The tab Design is for the whole mailing. Show "View in Browser" adds a link at the top of the email that opens the email on the web, for people whose mail program shows it badly. Body Width has three choices for the width of the email. Background Color and Mailing Color change the color of the page and of the email. Below them you can set the size, the margin and the font of the paragraph text and the four levels of headings.

odoo Development

Click Save at the top of the editor when you finish.

Choosing Who Gets the Email

The field Recipients decides who receives the mailing. Click it to see the choices. Mailing List and Mailing Contact use the people of this app. The others use records of other apps: Contact (the customers of the Contacts app), Lead (the CRM app), Employee, Applicant (recruitment), Event Registration, Point of Sale Order, Journal Entry, and more. The list depends on the apps that you installed. Click Search more to see all of them.

odoo Development

When you choose a type other than Mailing List, the form shows a rule instead of a list. For the type Contact it shows the field Dynamic Lists (see section 2.3), the box Exclude Blacklisted Recipients, and a Domain. The domain says Match all records at first. The number after it, 435 record(s), tells you how many records follow the rule. Click Add condition to narrow the group, for example customers from one country, or customers with a tag.

odoo Development

Exclude Blacklisted Recipients keeps the blacklisted addresses out. It is on by default. Switch it off only when you must send to everyone, for example for a legal notice. Odoo warns you that this is rarely a good idea.

The number of records on the right side of the domain is a count of records, not of emails. Odoo removes duplicate addresses, people who opted out and addresses without an email when it sends the mailing.

The Settings Tab of a Mailing

The tab Settings has the options of the mailing. The numbers match the list.

odoo Development

1. Preview Text is a short sentence that people see in their inbox next to the subject. We wrote: Save up to 20% on desks, chairs and lamps until April 30.

2. Send From is the name and the email address of the sender. Odoo fills it with the address of the user who made the mailing. We used Cybrosys Furniture <hello@cybrosysfurniture.example>. Use an address of your own domain, because mails from addresses that do not match the server are often marked as spam.

3. Reply To is the address that receives the answers. When people click Reply, their answer goes here. Here it is sales@cybrosysfurniture.example.

4. Attach a file adds a file to every email, for example a price list in PDF. Keep it small.

5. Keep Archives. Odoo normally deletes its copy of each email after it is sent, to save space. Tick this box if you want to keep the copies.

6. Allow A/B Testing is explained below.

7. Campaign links the mailing to a campaign. Type a new name to create the campaign on the spot. We typed Spring Furniture Sale 2026.

8. Medium is the way that the message is sent. It is Email for this app.

9. Source is the origin of the message. It is Mass Mailing for this app. The medium, the source and the campaign are added to the links of the email, so that other apps (for example the website and the CRM) know which mailing brought a visitor or a lead.

10. Responsible is the person who owns the mailing.

When the option Dedicated Server is on (section 1), a field named Mail Server also appears in the group Advanced, so that you can choose the server for this one mailing.

A/B testing helps you to find the better of two versions of a mailing. When you tick Allow A/B Testing, new fields appear.

odoo Development

The percentage (10) is the size of the sample. Odoo sends this version to only that share of the recipients. You then create other versions and compare their results. Odoo explains it on the screen: try different variations in the campaign to compare them, and when the best version is known, it is sent to the remaining recipients.

A/B Testing Version is a name for this version, for example Header with product picture.

Winner Selection decides how Odoo chooses the best version: Manual, Highest Open Rate, Highest Click Rate or Highest Reply Rate.

Send Final On is the date when Odoo sends the best version to all the remaining recipients.

The button Create an Alternative Version makes a copy of the mailing, so that you can change the subject or the design of the second version.

Odoo keeps all the versions of a test in one campaign. If the mailing has no campaign yet, Odoo creates one for the test.

Checking and Sending

Before you send, always check the email.

Preview opens a window that shows the email as the recipients will see it. The two icons at the top right switch between a computer screen and a phone screen.

Test opens a small window named Test Mailing. Type one or more email addresses, and click Send test. Odoo sends a sample to these addresses only. Use your own addresses. A test never changes the status of the mailing.

odoo Development odoo Development

When you are ready, you have two choices.

Schedule opens the window When do you want to send your mailing? Choose the date and time in the field Send on and click Schedule. The mailing goes to the status In Queue and is sent at that time. To change your mind, open the mailing and click Cancel. It goes back to Draft.

Send sends the mailing now. Odoo asks for a confirmation: Ready to unleash emails? Click Send to all to continue, or Discard to go back. After you confirm, the mailing goes to In Queue and then to Sending. You cannot change a mailing after this.

odoo Development odoo Development

After the Mailing Was Sent

Open a sent mailing. The top of the form shows the results as smart buttons. The numbers match the list.

odoo Development

1. Delivered shows how many emails reached the recipients, and how many failed. Here 4 emails were delivered and 1 failed.

2. Canceled shows the share of people that Odoo did not write to. They are on the blacklist, they opted out, or they have no email address.

3. Opened shows the share of delivered emails that were opened, here 75 percent. Odoo knows this because each email has a tiny invisible picture. Some mail programs block this picture, so the real number can be higher.

4. Replied shows the share of people who answered the email.

5. More opens a menu with more results.

6. Retry sends again the emails that failed. It shows only when some emails failed.

7. Duplicate makes a copy of the mailing in the status Draft. It is the quickest way to send a similar mailing again.

8. The status bar says Sent.

The menu More has Clicked (the share of people who clicked a link), Bounced (the share of emails that could not be delivered), and Link Trackers (the links of the mailing and how many times each one was clicked). When the CRM and Sales apps are installed it also shows Opportunities, Quotations and Revenues. These are the leads, the quotations and the amount of sales that came from the mailing. This is how you see if a mailing makes money.

odoo Development

Click a smart button to see the people behind the number. The window Mailing Traces lists every recipient of the mailing, with the date of sending, the status, the date of opening, the date of the click and the date of the reply. The list is grouped by status. In the example: one person has only received the email (Delivered), two people opened it (Opened), one person answered (Replied), one email bounced (Bounced), and two people were cancelled. Isabella Cooper was cancelled because her address is on the blacklist, and Noah Bennett because he had opted out of the Newsletter. The column Failure type explains each failure.

odoo Development

Here is what Odoo does with the people who cannot receive the email.

Blacklisted address (failure type Blacklisted Address): the email is cancelled.

A person who opted out of the list (failure type Opted Out): the email is cancelled.

A person without an email address (failure type Missing email address): the email is cancelled.

The same address twice in the same mailing (failure type Duplicated Email): the second email is cancelled, so the person receives it only once.

An address that does not exist or a full inbox (failure type Bounce): the status becomes Bounced. Odoo counts the bounces of each mailing contact, and you can find these people with the filter Bounced.

Every email also has two links at the bottom that you do not have to add yourself. The link Unsubscribe opens a page on your website. The person can choose to leave the list, and, when the option is on, can add their address to the blacklist, and can give a reason from the list in section 7.5. The same page lets the person manage the lists that they belong to, if the lists have the option Show In Preferences. Odoo also changes the links of the email into short links that count the clicks, and it adds the campaign, medium and source to them (section 7.3).

One day after the mailing was sent, the responsible person receives the report 24H Stats of Email, if this option is on.

WhatsApp