Ajouter

Lorem ipsum

Lorem ipsum

No-code

1 views

4 min

Add a “Share by email” link in Webflow

Introduction

Mailto parameterDescriptionExample
toRecipient (leave blank to let them choose)
subjectEmail subjectCheck out this article
bodyEmail body (URL-encoded)https://your-site.com/article

In this tutorial, Sandro, co-founder of the Gemeos Webflow agency, shows you how to add a "Share by email" link in Webflow.

Adding a "Share by email" button to a website comes with a few perks:

  1. Makes sharing easy: The "Share by email" button lets users quickly share site content with friends, family, or coworkers through their inbox. That can be handy for spreading important or interesting information.
  2. Expands your reach: Email is still a widely used way to communicate, even in the age of social media. By adding this sharing option, you let your content reach a broader audience that may not be active on social platforms.

Here’s how to do it!

1. Add a trigger element to your page

You can use any element you want, such as a Div or Link.

Webflow Email Tutorial

2. Add the id "mail" to it

Webflow Email ID Tutorial

3. Add this custom code

You can add it before the <body> on your page, or drop it straight into an embed inside your element.

 

good to know

The mailto link opens the user’s native email client. To prefill the subject, add &subject=Your+Subject after the URL encoding in the script.

4. Publish and test the result

Webflow Tutorial Example

Published on 10.04.2025

You might be interested in these tutorials

Similar tutorials

SEO / GEO

5 min read

5 views

How to Set Up a Redirect in Webflow? (2026)

Updated on 19.12.2025 by Sandro DA SILVA

SEO / GEO

5 min read

5 views

Add structured data to your Webflow site?

Updated on 21.08.2025 by Sandro DA SILVA

No-code

5 min read

5 views

How to Obfuscate a Link in Webflow

Updated on 23.04.2025 by Sandro DA SILVA

Let’s f*****G GO !!

Ready to launch
Your business?

Alexandre

Max

Enora

Bryan

Cannelle

Tiphaine

You'll :heart: our collaboration...