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

Productivity

November 21, 2025

The Best Gmail Alternatives: Pros, Cons & Features

As your email needs evolve from teenage simplicity to professional demands, it's time to consider Gmail alternatives better suited for business communication. In this article, we’ll explain Gmail's dual role as both a service provider and an email client, using a helpful analogy to highlight their functions. We'll assess various options based on key factors like reliability, security, and storage. Plus, discover top choices like Protonmail and Tutanota for those prioritizing privacy. Explore the best email solutions to enhance your professional communication and elevate your email experience!

Read more
Productivity

July 24, 2025

7 Fyxer AI Alternatives: From email clients to add-on tools

We cover Fyxer AI’s key features and compare them to alternatives like Gmelius and Missive, helping you choose the best tool for your inbox.

Read more
Explore 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 500 reviews
4.8
→ 500+ reviews