Better HN
topnewbestaskshowjobs
Log inSign up

jkturbo

7 karma · joined Nov 11, 2015 (11y ago) · 5 submissions

Email developer. Blogs at http://freshInbox.com about cool email techniques. Advocate for better CSS support in email clients.
Submissions

comment 11y ago · link · parent

Author here. The majority of non-personal emails contain some form of styling for readability. And the styling is done using CSS. The only issue with Gmail is that they force you to inline them which makes coding email very tedious.

comment 11y ago · link · parent

Author here. Glad to hear this from another developer. I think once developers are tasked to code an email, perhaps something as simple as a notification or a report, they'll quickly realize how truly foobar the email situation is.

Short emails may be fine with plain text, but once you need to present any sort of structure, HTML becomes necessary and there's no reason why email needs to be this difficult.

comment 11y ago · link · parent

Author here. Gmail does not prefetch the image. Appending a unique image URL will still allow the sender to know when you've opened the email. The proxy eliminates your IP as well as user-agent so the sender can't tell where you are and what you're using to read the email.

comment 11y ago · link · parent

Author here. Haha yes I write on experimental techniques like carousels mainly to get developers curious into the kinds of stuff they can do with just CSS.

I'm very aware of Outlook's backward HTML support, but at least its a single client. With Gmail, each of their clients has weird quirks that make it frustrating to code for.

As developers sometimes creating HTML emails are necessary, such as creating system generated reports for business users. Right now, the process is fraught with issues - including figuring out Outlook, so fixing this does not just benefit email marketers alone.

comment 11y ago · link · parent

I'm the author of the article. All the other web mail clients from Yahoo! Mail, Outlook.com, Comcast and so forth support the style tag. If it was a big security attack vector, all those clients wouldn't be doing that.

The other webmails rewrite ids and classes and prepend unique identifiers to prevent them from clashing with their own namespace (AOL is the only one that puts it in an iframe).

Interestingly Gmail webmail actually supports the style tag but strips out id and class selectors in them leaving element selectors - so they're actually doing some heavy duty parsing already.

As for it being an inherently text medium. I would say it depends on the recipient. Emails do not need to be web pages, but simple CSS styling can go a long way to ease readability in emails - especially in a long curated newsletter like Product Hunt.