Joel T
Joel T

Reputation: 237

Django's send_mail messages get grouped into a gmail converation

For users of our Django app that receive their emails through gmail they are finding that emails are getting grouped into conversations that shouldn't be.

I'm not sure what gmail expects in an email to consider it unique enough to not group as a conversation but when I send plain text emails with DIFFERENT subjects using send_mail or even try a multipart/alternative with EmailMultiAlternatives with an html body gmail still assumes they are part of the same conversation.

Obviously this creates confusion when our application sends emails with different subjects and bodies to the same user and they are all grouped and gmail only shows the subject of the first message in the conversation.

I have 100% confirmed by looking at the raw original email messages to make sure the emails are different subjects and bodies.

I just want to know if I can change anything in how django creates the email message so it can play nice with gmail conversations.

I am using python 2.7.4, and can replicate the "issue" with Django 1.4 and 1.5.

Upvotes: 0

Views: 315

Answers (1)

hellsgate
hellsgate

Reputation: 6005

Make sure messages on different subjects have a different 'From' address

Upvotes: 2

Related Questions