If you have set your domain to be processed by CloudFlare and your email is not working, you are probably missing mail and MX records in your zone file or your mail records are not properly configured. To edit your DNS zone file on Cloudflare follow these steps:
1. Log into your Cloudflare Account.
2. Click the domain you wish to add an MX record for.
3. Open the DNS app at the top of the page.
4. You need to make sure that the "A" record for the "mail" sub-domain is set to a Grey Cloud (not processed by CloudFlare). The reason for that is that many hosting companies use the domain name for MX records and resolve the mail server internally. When using Cloudflare, the MX record cannot be the domain itself, which passes through Cloudflare. A typical configuration to get around this is: MX record is a sub-domain with a grey cloud.
NOTE: The IP 184.108.40.206 needs to be your server Shared IP Address
To get the exact IP you should configure for the "mail" sub-domain "A" record, please follow the steps below:
1. Login to your Cpanel and choose under the tab GENERAL INFORMATION > Server Information.
2. Under the new window Server Information, you can see the Shared IP Address which you can use for your IP under your CloudFlare DNS zone.