# Auth0 e-mail template interfering with Outlook

**URL:** <https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795>\
**Category:** Get Help\
**Created:** [May 3, 2019, 10:15am UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795 "2019-05-03T10:15:17Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![KalmerR](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kalmerr/32/12789_2.png) [@KalmerR](https://community.auth0.com/u/KalmerR)\
**Post date:** [May 3, 2019, 10:15am UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795/1 "2019-05-03T10:15:17Z")

</div>

Hello!

I started to create custom e-mail templates. And for the start, I took a look at Auth0 [templates](http://styleguide.auth0.com/#/email-templates/).

I started to modify the code and soon realised, that in Outlook, there is an error with displaying the messages (there is something, but not in place). In Outlook, while everything is a mess, there is a button with functionality that works well. In Gmail, everything is in right place and works well. Outlook does offer the solution to show the email from the web browser, but I want the email to look right from the start, so customers should not take extra steps in order to show the email correctly.

Here is the picture of how (default Auth0 template) looks in Outlook:

 ![image](https://global.discourse-cdn.com/auth0/original/2X/0/04c79b9b4ab91f3986cf03283d655d67e675945b.png)

And in browser, where information is cached:

 ![image](https://global.discourse-cdn.com/auth0/original/2X/0/07120db7188e33e052710d00a0f57b79c86aa320.png)

What do I need to change in order for it to work properly?

If you have questions for me to explain the situation better, please, ask!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [May 3, 2019, 5:05pm UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795/3 "2019-05-03T17:05:05Z")

</div>

Hi @KalmerR,

The emails templates are HTML based and should load the similarly on modern clients. Are you using an up-to-date version of Outlook?

Thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![KalmerR](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kalmerr/32/12789_2.png) [@KalmerR](https://community.auth0.com/u/KalmerR)\
**Post date:** [May 7, 2019, 3:23pm UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795/4 "2019-05-07T15:23:32Z")

</div>

Hello @dan.woda,  
Sorry for the late reply. Yes, I use the latest version of Outlook. I did some research and found out that Outlook does not like paddings and other HTML and CSS elements.

When email is looked throguh web browser (logged in to Outlook), template is working correctly.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [May 7, 2019, 4:18pm UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795/5 "2019-05-07T16:18:02Z")

</div>

@KalmerR,

Glad you figured out what was causing the problem. Were you able work around it with email customization?

Thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![KalmerR](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kalmerr/32/12789_2.png) [@KalmerR](https://community.auth0.com/u/KalmerR)\
**Post date:** [May 7, 2019, 4:27pm UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795/6 "2019-05-07T16:27:29Z")

</div>

@dan.woda

I havent figured it out yet.

 ![image](https://global.discourse-cdn.com/auth0/original/2X/0/0ddcc9ec86b1c7f0aeb8f25dcb9b54e3eee1cad1.png)

I marked the problem in yellow. I don’t know why this happens. When I try to select it (it’s clickable also), I can see, that it’s like one section. First section is where information is “Account”. And “second section” is where the yellow line.

To clarify: Outlook in web browsers displays the email template correctly, in program, it does not.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [May 7, 2019, 6:12pm UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795/7 "2019-05-07T18:12:59Z")

</div>

I took a look at it, but can’t reproduce as I don’t currently have access to an Office365/Outlook account on my machine.

You said it is clickable- what does it link to?

---

<div class="post-metadata">

**Author:** ![KalmerR](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kalmerr/32/12789_2.png) [@KalmerR](https://community.auth0.com/u/KalmerR)\
**Post date:** [May 8, 2019, 4:00pm UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795/8 "2019-05-08T16:00:09Z")

</div>

Hey @dan.woda, it is not linking to anywhere, when moving cursor on it, there just appears to be arrow, when clicking, it kind of moves the element around, and somehow, I did make this:

 ![image](https://global.discourse-cdn.com/auth0/original/2X/0/03ed2706ddccd53cf907d163daaaa292a46b8c99.png)  
(Watch for the yellow marker)

---

<div class="post-metadata">

**Author:** ![KalmerR](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kalmerr/32/12789_2.png) [@KalmerR](https://community.auth0.com/u/KalmerR)\
**Post date:** [May 9, 2019, 5:54am UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795/9 "2019-05-09T05:54:35Z")

</div>

Basically what I found out by experimenting is that the template uses “ghost tables”. If anyone comes across with the problem I had, read this:

> **[Using Ghost Columns to Fix Alignment Problems in Outlook](https://www.emailonacid.com/blog/article/email-development/using-ghost-columns-to-fix-alignment-problems-in-outlook/)**
>
> I ain't afraid of no ghost! Learn to use ghost columns in your email code to fix alignment problems in outlook

I guess it’s solved, I don’t see the lines appearing anymore.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [May 9, 2019, 3:50pm UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795/10 "2019-05-09T15:50:36Z")

</div>

@KalmerR,

I’m happy you found a solution! Thanks for posting your solution as well, this is what makes an effective community. Best of luck!

Thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 24, 2019, 3:50pm UTC](https://community.auth0.com/t/auth0-e-mail-template-interfering-with-outlook/24795/11 "2019-05-24T15:50:38Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
