Estimates going into spam folder

I am just getting started with Quickfile, and have just started mailing out estimates to clients. I find that estimates going to Gmail addresses are going into spam because Gmail is taking exception to the lack of a Message-ID header.

I am routing mails through my own mail server which is set up with correct SPF, DKIM, and DMARC headers which are being passed by Google.

Gmail will add its own Message-ID header in the format Message-ID: xxxxxxxxxxxxxxxxxxxxSMTPIN_ADDED_MISSING@mx.google.com but will also increase the spam score of the mail.

When sending to non Gmail mail servers, the mails are being delivered, but with an increased Spam score.

It is my understanding that adding the Message-ID header is the responsibility of the mail client which in this case is the QuickFile mail server.

I note that people in the past have complained about estimates and Invoices going into spam, but no one has mentioned the lack of Message-ID headers before.

I have found a workaround for my Postfix mail server which others may find useful.

Edit the Postfix file /etc/postfix/extra.cf and add the line

always_add_missing_headers = yes

The mail server will then automatically add a Message-ID header if it was absent.

Just saw this. We have the same issue of using Gmail as intermediary, having DMARC etc setup correctly as far as we are aware, but getting emails ending up in clients’ spam folders. Thanks for identifying a technical aspect that might improve things. It’s likely nobody has mentioned this before because most users of QF using Gmail (like me) are not technically capable of interpreting the email metadata.