Finally here comes Episode III.
(Any resemblance to real persons, living or dead or the Star Wars saga, is purely coincidental.)
In case you missed previous episodes you can find them here and here.
Today we will see something pretty interesting and a common request: how can you make the e-mail template dynamic based on entity values or insert custom HTML code.
I’ll provide an example based on one of the requests I received in the comments, we will add a personal avatar to our users so we can insert it in our template.
Spoiler alert, the following screenshot is what we’re trying to achieve: