Skip to content

Instantly share code, notes, and snippets.

@dorian-davis
Created October 8, 2016 04:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dorian-davis/e10c4cb00c93119bd063275721cc363d to your computer and use it in GitHub Desktop.
Save dorian-davis/e10c4cb00c93119bd063275721cc363d to your computer and use it in GitHub Desktop.
Custom email template dynamic data trick. This way you can add dynamic data to custom email templates. (by default the data is hardcoded)
<img src="https://path.to.server/images/{{message.author.first_name | fallback: 'Dorian'}}.jpg" height="40" width="40" class="avatar" alt="intercomavatar">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment