Auth0 Home Blog Docs

How can I add images to email templates?



How can I attached images to email templates?
we want to add the logo of our businesses and more images like github,medium,linkedin etc…

tried to add with base 64 within the html and upload it to public s3 bucket and no success so far.


To keep email sizes under control (and play nice with email clients), you are probably better off with linked images (see
Either linked or inline, the img tag is used:

This is a linked image, taken from the built-in template:

<img src="" width="50" alt="Your logo goes here" style="-ms-interpolation-mode: bicubic;border: 0;height: auto;line-height: 100%;outline: none;text-decoration: none;">

An inline image would look like this:

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAADSCAMAAABThmYtAAAAXVB">