How To Set Up External Email Server for Odoo

Hey there, want to use Gmail as your External Email Server for Odoo. Don’t look any further you are on the right page. Yes, it is possible to use Gmail and Yahoo as the incoming and outgoing email server in Odoo. Odoo Enterprise and Community Edition need you to have your own outgoing email server. However, when using the free trial online version of Odoo, you do not need to configure your email server. You can use ready to use Odoo server which is

Note:Office 365 email servers do not allow you to send external emails from Odoo.

Why do you need to configure an External Email Server?

Suppose you want to use your own Yahoo or Gmail account for sending and receiving emails then we need to configure External Email Servers in Odoo. It will be possible for you to send your company reports like quotations, invoices from your Gmail id. By the time you finish reading this, you will be able to configure Gmail as your incoming and outgoing email server.

To get the right message to the right person at the right time you first need to get the right data to the right database at the right time ~ John Caldwell Click To Tweet

For this, you need to go to your general settings and add your server details. If you are unsure about your email server details you can google it. For example, I want all my outgoing emails from my Gmail account. I will just google Gmail outgoing email server

In Odoo, go to Settings -> General Settings. Select External Email Server

Setting up the outgoing email server

  1. Click on Outgoing Email Server
  2. Here, you will see the list of all the Outgoing Email Servers. Click on Create to create a new Outgoing Email Server.
  3. In the Description, give the name as Gmail.
  4. Under Connection Information, give our SMTP server name i.e This is the pointer to the SMTP of your server.
  5. Give the priority of your email server as 1. Higher priority is denoted by a lower number i.e. the email Server with the lowest number will be used the most.
  6. Port of the SMTP server. Give port as 465 for Gmail.
  7. Choose SSL/TLS for Gmail as your type of security.
  8. Username: Your email account, for example, I send all my company emails using
  9. Password will be your Gmail account password.
  10. Click on test connection.

Note: If Connection is successful then we are done.However, if you have disabled some security settings for less secure apps in your Gmail account you might not be able to connect Odoo to your Gmail mail server. Make sure you allow less secure apps to access your Gmail account. You can do that by going to your account settings.

Setting up the incoming email server

  1. Click on Incoming Email Server
  2. Here, you will see the list of all the Incoming Email Servers. Click on Create to create a new Incoming Email Server.
  3. Give the name as Gmail.
  4. Server type can be selected as IMAP, POP or local. Gmail uses either POP3 or IMAP to fetch emails.
  5. Again here you will need your Server Details. For Gmail, we will use the SMTP server address as If you are using POP then you might want to use
  6. IMAP uses Port 993 and POP uses Port 995.
  7. Tick SSL/TLS for encrypted emails.
  8. Provide your Gmail login Credentials i.e. Username as your Email and Password will be your Gmail Password.
  9. Test your Connection and Save your record.

Note: By default, all your mails will be fetched after every 1 Hour. You can change this by going to Settings and activating the developer mode. Then go to Automation -> Scheduled Actions and Edit Email Queue Manager. Change Interval as per your choice and you will be done.

I hope this post has helped you to configure your External Email Server for Odoo. Let me know.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Wearables Integration with Minio, Spark and Uniconnect to Build a Health Driven Smart World

Understanding Software Architecture

A little better every day

News Digest

🔰 Create High Availability Architecture with AWS CLI 🔰

Building Zomato — The Agile way

10 basic VS Code (Visual Studio Code) Extensions for beginners.

Introduction to MySQL

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

Hide WordPress Login Page to Protect From Brute Force Attacks

How I spin up a local Server

Login to Lightsail Wordpress wp-admin

Top 10 Magento 2 Order Management Extensions in 2022