Skip to main content

How to Add Email Address as a Variable

You can use Storydoc to insert email addresses as dynamic variables. This lets you show an email inside your story, or make it clickable so viewers can start writing an email directly from your deck.

Jack avatar
Written by Jack
Updated over 3 weeks ago

Step-by-Step Instructions

  1. Use available email variables

    • Storydoc includes {{sender_email}}, which automatically pulls the email of the person generating the link (the sender)

    • On certain plans, you can also create your own variable, for example {{email}}, and add it to your variable list.

  2. Add the variable as text

    • Place {{sender_email}} or {{email}} anywhere in your story text.

    • Storydoc will replace it with the correct email address when the story link is generated.

  3. Make the email clickable with mailto:

    • To open a new email draft, connect the variable with a mailto: link.

    • Examples:

      • mailto:{{sender_email}}

      • mailto:{{email}}

    • Add this to a button or hyperlink link field. When clicked, it will open the reader’s default email client with the address filled in.

Important Notes

  • Not all email clients or devices support mailto: links, so in some cases the button may not trigger an email.

  • If you only want the email shown, insert the variable as plain text without mailto:.

Did this answer your question?