Skip to main content

Hi Email Geeks!

How do you handle email grouping issue in email clients when you don’t want to edit the subject line?

In theory, I have a recurring campaign consisting of a single email that is sent out on Tuesdays. I find the subject line suitable for sending it regularly to recipients. However, due to email grouping, I have to change the emoji before each send. I would like to avoid this hassle 🙏

I hope someone as lazy as I am has already solved this problem 😅

Hi Ross,

Thanks for reaching out.

One idea that you could consider is adding the date to the subject automatically. For example, you could use some Liquid like “{{ 'now' | date: '%d %B' }}” to render the current date and month in your subject:
 

 

Could something like work with your use case to make this a bit more automated?

Thanks,


@Ryan_cio suggestion is the way I would first think of. One other option and then something to keep in mind:

Option 2: If your email contains personalized information that might change week to week, you could use that. So for a client of mine, I put together an “analytics” recap, and in the subject line I would put in one of the tokens from the analytics (You completed X tasks this week). Since that will change each week it won’t group. 


Thing to consider: Using the same subject line week over week could get old (it could also make things consistent… so could be good. Just depends?).

Grammarly for example, they switch up their analytics subject line to keep things interesting, and use a unique handle for the sender “Grammarly Insights”. That way the reader still knows the nature of the email from the sender name, and they can be creative with the copy in the subject line. 


You could use liquid to create a variable subject line/or only a variable emoji depending on what week it is.

I’ve found ChatGPT and Claude.ai to be helpful at creating liquid scripts. Sometimes there is some troubleshooting required.

For something like this, I’ll typically create the liquid script in a snippet then use it in the message editor since the scripts can get quite long.
 

{% assign current_date = "now" | date: "%Y-%m-%d" %}

{% assign week_number = current_date | date: "%W" | plus: 0 %}

{% if week_number == 1 %}

  {% assign subject_line = "Week 1 Subject Line" %}

{% elsif week_number == 2 %}

  {% assign subject_line = "Week 2 Subject Line" %}

{% elsif week_number == 3 %}

  {% assign subject_line = "Week 3 Subject Line" %}

{% elsif week_number == 4 %}

  {% assign subject_line = "Week 4 Subject Line" %}

{% elsif week_number == 5 %}

  {% assign subject_line = "Week 5 Subject Line" %}

<!-- Continue this pattern for weeks 6 through 51 -->

{% elsif week_number == 52 %}

  {% assign subject_line = "Week 52 Subject Line" %}

{% else %}

  {% assign subject_line = "Default Subject Line" %}

{% endif %}

{{ subject_line }}

if you are doing only a variable emoji, to make it clearer to others who may be going in and working with your code after the fact, you call the variable subject_emoji, then in your subject line, whatever you name/save the snippet below as, you’d place that in your subject line and have the text of your subject follow. Below are just random emojis, you could change them to be more fitting or cycle through a smaller set that are more relevant.
 

{% assign current_date = "now" | date: "%Y-%m-%d" %}

{% assign week_number = current_date | date: "%W" | plus: 0 %}

{% if week_number == 1 %}

  {% assign subject_emoji = "🎉" %}

{% elsif week_number == 2 %}

  {% assign subject_emoji = "🌟" %}

{% elsif week_number == 3 %}

  {% assign subject_emoji = "🚀" %}

{% elsif week_number == 4 %}

  {% assign subject_emoji = "💡" %}

{% elsif week_number == 5 %}

  {% assign subject_emoji = "🌈" %}

{% elsif week_number == 6 %}

  {% assign subject_emoji = "🍀" %}

{% elsif week_number == 7 %}

  {% assign subject_emoji = "🌺" %}

{% elsif week_number == 8 %}

  {% assign subject_emoji = "🎨" %}

{% elsif week_number == 9 %}

  {% assign subject_emoji = "🎵" %}

{% elsif week_number == 10 %}

  {% assign subject_emoji = "🏆" %}

{% elsif week_number == 11 %}

  {% assign subject_emoji = "🌙" %}

{% elsif week_number == 12 %}

  {% assign subject_emoji = "🌞" %}

{% elsif week_number == 13 %}

  {% assign subject_emoji = "🌴" %}

{% elsif week_number == 14 %}

  {% assign subject_emoji = "🍎" %}

{% elsif week_number == 15 %}

  {% assign subject_emoji = "🦋" %}

{% elsif week_number == 16 %}

  {% assign subject_emoji = "🌸" %}

{% elsif week_number == 17 %}

  {% assign subject_emoji = "🌊" %}

{% elsif week_number == 18 %}

  {% assign subject_emoji = "🏹" %}

{% elsif week_number == 19 %}

  {% assign subject_emoji = "🍓" %}

{% elsif week_number == 20 %}

  {% assign subject_emoji = "🌿" %}

{% elsif week_number == 21 %}

  {% assign subject_emoji = "🎭" %}

{% elsif week_number == 22 %}

  {% assign subject_emoji = "🌻" %}

{% elsif week_number == 23 %}

  {% assign subject_emoji = "🍉" %}

{% elsif week_number == 24 %}

  {% assign subject_emoji = "🌷" %}

{% elsif week_number == 25 %}

  {% assign subject_emoji = "🎸" %}

{% elsif week_number == 26 %}

  {% assign subject_emoji = "🌼" %}

{% elsif week_number == 27 %}

  {% assign subject_emoji = "🍦" %}

{% elsif week_number == 28 %}

  {% assign subject_emoji = "🌵" %}

{% elsif week_number == 29 %}

  {% assign subject_emoji = "🎡" %}

{% elsif week_number == 30 %}

  {% assign subject_emoji = "🌺" %}

{% elsif week_number == 31 %}

  {% assign subject_emoji = "🍔" %}

{% elsif week_number == 32 %}

  {% assign subject_emoji = "🌹" %}

{% elsif week_number == 33 %}

  {% assign subject_emoji = "🎨" %}

{% elsif week_number == 34 %}

  {% assign subject_emoji = "🌳" %}

{% elsif week_number == 35 %}

  {% assign subject_emoji = "🍕" %}

{% elsif week_number == 36 %}

  {% assign subject_emoji = "🌲" %}

{% elsif week_number == 37 %}

  {% assign subject_emoji = "🎬" %}

{% elsif week_number == 38 %}

  {% assign subject_emoji = "🌴" %}

{% elsif week_number == 39 %}

  {% assign subject_emoji = "🍩" %}

{% elsif week_number == 40 %}

  {% assign subject_emoji = "🌾" %}

{% elsif week_number == 41 %}

  {% assign subject_emoji = "🎯" %}

{% elsif week_number == 42 %}

  {% assign subject_emoji = "🌱" %}

{% elsif week_number == 43 %}

  {% assign subject_emoji = "🍂" %}

{% elsif week_number == 44 %}

  {% assign subject_emoji = "🌰" %}

{% elsif week_number == 45 %}

  {% assign subject_emoji = "🎃" %}

{% elsif week_number == 46 %}

  {% assign subject_emoji = "🌜" %}

{% elsif week_number == 47 %}

  {% assign subject_emoji = "🍁" %}

{% elsif week_number == 48 %}

  {% assign subject_emoji = "❄️" %}

{% elsif week_number == 49 %}

  {% assign subject_emoji = "☃️" %}

{% elsif week_number == 50 %}

  {% assign subject_emoji = "🎄" %}

{% elsif week_number == 51 %}

  {% assign subject_emoji = "🎅" %}

{% elsif week_number == 52 %}

  {% assign subject_emoji = "🎆" %}

{% else %}

  {% assign subject_emoji = "📅" %}

{% endif %}

{{ subject_emoji }}


Big fan of this idea @sethlonghurst, well done!

You could use liquid to create a variable subject line/or only a variable emoji depending on what week it is.

I’ve found ChatGPT and Claude.ai to be helpful at creating liquid scripts. Sometimes there is some troubleshooting required.

For something like this, I’ll typically create the liquid script in a snippet then use it in the message editor since the scripts can get quite long.
 

{% assign current_date = "now" | date: "%Y-%m-%d" %} {% assign week_number = current_date | date: "%W" | plus: 0 %}

{% if week_number == 1 %}   {% assign subject_line = "Week 1 Subject Line" %} {% elsif week_number == 2 %}   {% assign subject_line = "Week 2 Subject Line" %} {% elsif week_number == 3 %}   {% assign subject_line = "Week 3 Subject Line" %} {% elsif week_number == 4 %}   {% assign subject_line = "Week 4 Subject Line" %} {% elsif week_number == 5 %}   {% assign subject_line = "Week 5 Subject Line" %} <!-- Continue this pattern for weeks 6 through 51 --> {% elsif week_number == 52 %}   {% assign subject_line = "Week 52 Subject Line" %} {% else %}   {% assign subject_line = "Default Subject Line" %} {% endif %}

{{ subject_line }}

if you are doing only a variable emoji, to make it clearer to others who may be going in and working with your code after the fact, you call the variable subject_emoji, then in your subject line, whatever you name/save the snippet below as, you’d place that in your subject line and have the text of your subject follow. Below are just random emojis, you could change them to be more fitting or cycle through a smaller set that are more relevant.
 

{% assign current_date = "now" | date: "%Y-%m-%d" %} {% assign week_number = current_date | date: "%W" | plus: 0 %}

{% if week_number == 1 %}   {% assign subject_emoji = "🎉" %} {% elsif week_number == 2 %}   {% assign subject_emoji = "🌟" %} {% elsif week_number == 3 %}   {% assign subject_emoji = "🚀" %} {% elsif week_number == 4 %}   {% assign subject_emoji = "💡" %} {% elsif week_number == 5 %}   {% assign subject_emoji = "🌈" %} {% elsif week_number == 6 %}   {% assign subject_emoji = "🍀" %} {% elsif week_number == 7 %}   {% assign subject_emoji = "🌺" %} {% elsif week_number == 8 %}   {% assign subject_emoji = "🎨" %} {% elsif week_number == 9 %}   {% assign subject_emoji = "🎵" %} {% elsif week_number == 10 %}   {% assign subject_emoji = "🏆" %} {% elsif week_number == 11 %}   {% assign subject_emoji = "🌙" %} {% elsif week_number == 12 %}   {% assign subject_emoji = "🌞" %} {% elsif week_number == 13 %}   {% assign subject_emoji = "🌴" %} {% elsif week_number == 14 %}   {% assign subject_emoji = "🍎" %} {% elsif week_number == 15 %}   {% assign subject_emoji = "🦋" %} {% elsif week_number == 16 %}   {% assign subject_emoji = "🌸" %} {% elsif week_number == 17 %}   {% assign subject_emoji = "🌊" %} {% elsif week_number == 18 %}   {% assign subject_emoji = "🏹" %} {% elsif week_number == 19 %}   {% assign subject_emoji = "🍓" %} {% elsif week_number == 20 %}   {% assign subject_emoji = "🌿" %} {% elsif week_number == 21 %}   {% assign subject_emoji = "🎭" %} {% elsif week_number == 22 %}   {% assign subject_emoji = "🌻" %} {% elsif week_number == 23 %}   {% assign subject_emoji = "🍉" %} {% elsif week_number == 24 %}   {% assign subject_emoji = "🌷" %} {% elsif week_number == 25 %}   {% assign subject_emoji = "🎸" %} {% elsif week_number == 26 %}   {% assign subject_emoji = "🌼" %} {% elsif week_number == 27 %}   {% assign subject_emoji = "🍦" %} {% elsif week_number == 28 %}   {% assign subject_emoji = "🌵" %} {% elsif week_number == 29 %}   {% assign subject_emoji = "🎡" %} {% elsif week_number == 30 %}   {% assign subject_emoji = "🌺" %} {% elsif week_number == 31 %}   {% assign subject_emoji = "🍔" %} {% elsif week_number == 32 %}   {% assign subject_emoji = "🌹" %} {% elsif week_number == 33 %}   {% assign subject_emoji = "🎨" %} {% elsif week_number == 34 %}   {% assign subject_emoji = "🌳" %} {% elsif week_number == 35 %}   {% assign subject_emoji = "🍕" %} {% elsif week_number == 36 %}   {% assign subject_emoji = "🌲" %} {% elsif week_number == 37 %}   {% assign subject_emoji = "🎬" %} {% elsif week_number == 38 %}   {% assign subject_emoji = "🌴" %} {% elsif week_number == 39 %}   {% assign subject_emoji = "🍩" %} {% elsif week_number == 40 %}   {% assign subject_emoji = "🌾" %} {% elsif week_number == 41 %}   {% assign subject_emoji = "🎯" %} {% elsif week_number == 42 %}   {% assign subject_emoji = "🌱" %} {% elsif week_number == 43 %}   {% assign subject_emoji = "🍂" %} {% elsif week_number == 44 %}   {% assign subject_emoji = "🌰" %} {% elsif week_number == 45 %}   {% assign subject_emoji = "🎃" %} {% elsif week_number == 46 %}   {% assign subject_emoji = "🌜" %} {% elsif week_number == 47 %}   {% assign subject_emoji = "🍁" %} {% elsif week_number == 48 %}   {% assign subject_emoji = "❄️" %} {% elsif week_number == 49 %}   {% assign subject_emoji = "☃️" %} {% elsif week_number == 50 %}   {% assign subject_emoji = "🎄" %} {% elsif week_number == 51 %}   {% assign subject_emoji = "🎅" %} {% elsif week_number == 52 %}   {% assign subject_emoji = "🎆" %} {% else %}   {% assign subject_emoji = "📅" %} {% endif %}

{{ subject_emoji }}

 


@Ryan_cio, @sethlonghurst, @boostmyemail, thank you so much for such detailed answers! I really appreciate it!


Reply