# Weird! Tons of classes in email header?

**URL:** <https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620>\
**Category:** General Discussion\
**Created:** [October 4, 2017, 4:25am UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620 "2017-10-04T04:25:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![fususu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fususu/32/215_2.png) [@fususu](https://forum.mautic.org/u/fususu)\
**Post date:** [October 4, 2017, 4:25am UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/1 "2017-10-04T04:25:44Z")

</div>

Hello, I notice that in the header of every email of Mautic, there is tons of these classes name. Many many of them, around three pages long. I wonder what are they for??? Can I remove it?

Code:

---

<div class="post-metadata">

**Author:** ![fususu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fususu/32/215_2.png) [@fususu](https://forum.mautic.org/u/fususu)\
**Post date:** [October 4, 2017, 4:25am UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/2 "2017-10-04T04:25:44Z")

</div>

Hello, I notice that in the header of every email of Mautic, there is tons of these classes name. Many many of them, around three pages long. I wonder what are they for??? Can I remove it?

```auto
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" style="" class=" js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage ................................................................... applicationcache svg inlinesvg smil svgclippaths js csstransforms csstransforms3d csstransitions js flexbox flexboxlegacy canvas canvastext webgl touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface no-generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths js csstransforms csstransforms3d csstransitions responsejs "><head> 
```

---

<div class="post-metadata">

**Author:** ![fususu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fususu/32/215_2.png) [@fususu](https://forum.mautic.org/u/fususu)\
**Post date:** [October 4, 2017, 6:17am UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/3 "2017-10-04T06:17:06Z")

</div>

After searching awhile, I found they are classes added by Modernizr. It’s said that these classes are harmless in html pages. But does this affect the mail? You know, nowadays google filter is quite restrict, a email with heavy html code my end ups in the promotion tabs ☹ how to remove them?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [October 4, 2017, 12:41pm UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/4 "2017-10-04T12:41:04Z")

</div>

Right now is hard to not be in the promotion tabs.

Because I think this is my personal opinion that Google, Outlook and other have been flag Amazon SES, Sendgrid, Sparkpost and many other as Email Services Providers.  
I came to this conclusion since was using Sendgrid for our internal email notification used by SuiteCRM (you know to send a notification when a new opportunity is won, a new lead is created etc) and all the email go directly to Promotion Tab. BUT if I change back to the regular server SMTP ([smtp.mydomain.com](http://smtp.mydomain.com)) all the email go directly to Inbox

But also the text that is included in the email and the template will have some effect too.

---

<div class="post-metadata">

**Author:** ![fususu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fususu/32/215_2.png) [@fususu](https://forum.mautic.org/u/fususu)\
**Post date:** [October 4, 2017, 3:12pm UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/5 "2017-10-04T15:12:27Z")

</div>

> [@26367:@ninjoan](#):
>
> Right now is hard to not be in the promotion tabs. Because I think this is my personal opinion that Google, Outlook and other have been flag Amazon SES, Sendgrid, Sparkpost and many other as Email Services Providers. But also the text that is included in the email and the template will have some effect too.

I use Elasticemail and they allow me to config sending mail from my own domain, eg. [mail.fususu.com](http://mail.fususu.com) but use Elastice’s IP. it goes to inbox many times. Except sometimes I have to change the title or the content of the email, Google filter some sensitive word like “money”, “sales”…

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [October 4, 2017, 10:34pm UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/6 "2017-10-04T22:34:55Z")

</div>

that is a cover but in the deep, they know that is an ESP.  
send me an email with your mautic system and i will show you. `jninhilario@gmail.com`

---

<div class="post-metadata">

**Author:** ![fususu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fususu/32/215_2.png) [@fususu](https://forum.mautic.org/u/fususu)\
**Post date:** [October 5, 2017, 5:40am UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/7 "2017-10-05T05:40:48Z")

</div>

> [@26383:@ninjoan](#):
>
> [jninhilario@gmail.com](mailto:jninhilario@gmail.com)

I’ve sent you the email from [admin@fususu.com](mailto:admin@fususu.com). Which tab did it arrive? Promotab? Updates? Primary?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [October 5, 2017, 12:26pm UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/8 "2017-10-05T12:26:22Z")

</div>

Did you send the email selecting the contact \> sending email? if yes

Please create a simple campaign that sends the email automatically.

---

<div class="post-metadata">

**Author:** ![fususu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fususu/32/215_2.png) [@fususu](https://forum.mautic.org/u/fususu)\
**Post date:** [October 8, 2017, 3:08pm UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/9 "2017-10-08T15:08:27Z")

</div>

[quote=26391:@ninjoan]Did you send the email selecting the contact \> sending email? if yes

Please create a simple campaign that sends the email automatically.[/quote]

I sent using “Send test” function. You can try leave your email & name here to receive an auto email.  
[https://mrsusu.com/memorize-pi-number/#mail](https://mrsusu.com/memorize-pi-number/#mail)

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [October 9, 2017, 12:23pm UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/10 "2017-10-09T12:23:40Z")

</div>

Your email is hitting the Primary Tab

---

<div class="post-metadata">

**Author:** ![fususu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fususu/32/215_2.png) [@fususu](https://forum.mautic.org/u/fususu)\
**Post date:** [October 10, 2017, 7:14am UTC](https://forum.mautic.org/t/weird-tons-of-classes-in-email-header/9620/11 "2017-10-10T07:14:32Z")

</div>

> [@26454:@ninjoan](#):
>
> Your email is hitting the Primary Tab

Nice to hear that, but sometimes I see it hit promotion tab, maybe the sending speed cause it. I guess Google treat some ip sending too much mail at a time like spamming.
