Blog →

How to Create a Dynamic Email Signature?

Table of content

by

Philippe Lehoux

March 29, 2022

· Updated on

Most people use a simple and static email signature telling basic information about themself and their company (job title, phone numbers, address, etc.).

Basic email signature

Others have more complex usage; for instance, they will gather feedback on how well they answered their customer questions.

What if you could be more creative? For instance, what if you could change your signature copy based on the day of the week? Like adding the sentence "Have a great weekend!" in emails sent on Friday!

Let me show you how, with Missive, the best business email client.

Copy-paste the following code snippet in the signature editor where you want the sentence to appear:

{% assign today = "now" | date: "%A" %}
{% if today == "Friday" %}Have a great weekend!{% endif %}

The first line parses the current date and assigns the day value to the today variable. The second line checks if the today variable is equal to Friday and, if so, outputs the Have a great weekend sentence.

By adding an else statement, you could display an alternative sentence. The below code will display Have a great weekend! on Fridays and Cheers, every other day.

{% assign today = "now" | date: "%A" %}
{% if today == "Friday" %}Have a great weekend!{% else %}Cheers,{% endif %}
Philippe Lehoux

Email signature editor with dynaimic code

How is this possible? Missive takes advantage of the powerful templating engine liquid.js that allows you to do crazy stuff! Learn more.

p.s. Thanks to Laura Soar, one of our customers, who suggested this cool idea.

Related articles

Explore more
Productivity

December 15, 2022

How to Create Shared Inbox Rules

Learn how to create rules for a shared mailbox in Outlook and what software might be better to use.

Read more
Customer Service

November 29, 2024

16 Affordable Intercom Alternatives for 2025

Discover the best Intercom alternatives for your business.

Read more
Shared Inbox

November 4, 2022

8 Shared Mailbox Best Practices for Better Collaboration

Learn shared mailbox best practices to use for efficiently managing work emails with your team.

Read more
Productivity

April 19, 2022

Gmail Notes: How to Add Them

A quick walk-through of how to add comments & notes in Gmail to your emails within Google's free email...

Read more
Tips & Templates

December 20, 2022

Best Customer Service Responses Templates

A guide to using response templates for your automated customer support. How to use canned responses...

Read more
Workflows

November 21, 2024

Email Delegation for Assistants, Leaders, and More.

Today's email delegation requires strategic thinking, careful prioritization, and the right tools to make it all work seamlessly.

Read more
Productivity

March 13, 2024

7 Email Auto-Reply Templates to Save You Time

These simple yet effective automatic email reply templates will help you save time and make your work life easier.

Read more
Customer Service

January 23, 2023

6 Best AI Email Assistants to Master Your Inbox

Master your inbox with the top AI email assistants. Increase your productivity by choosing the best one for...

Read more
Productivity

March 7, 2024

Top Property Management Email Templates You Should Be Using

This article provides you with the best email templates that any property managers should be using.

Read more

We live in our inboxes.
Let’s make email enjoyable.

Try us out for free, invite a few people to get a feel, and upgrade when you’re ready.

4.8 → Over 900 reviews
4.8
→ 900+ reviews