Hacker News new | past | comments | ask | show | jobs | submit login

Can you freeze or un-AMP emails? Have your servers pre-download stuff or even strip it (somewhat akin to a browser's reader mode)?



text/x-amp-html is intended as an optional enhancement over an email that other clients will still be able to cope with. So un-AMP-ing is mostly just called using the text/html part instead of the text/x-amp-html part.

Pre-downloading or proxying content is theoretically quite possible with AMP (its limitations make that possible where it would not be readily possible with freeform JavaScript), but some modes of doing so will probably play hob with its interaction models. But it’s too early to reasonably review that aspect of it—better to wait until we can see what people actually do with AMP.

Make no mistake: AMP is all about making emails applications instead of static messages. That is its raison d’être.


Wasn’t text/html intended as an optional enhancement too? But most of the emails I receive are only text/html - no text/plain alternative, which would be displayed if available.

I fully expect text/x-amp-html only emails in the future, and so should you.

FastMail, please give me a way to permanently block AMP only emails. Just throw them away with a Mailer Demon reply. If there’s other versions, strip away the AMP version.


"most" (of the mail you want to read/reply to) sounds a bit extreme - afaik both Google and outlook/exchange/office365 will supply a semblance of a text part unless you go out of your way to avoid it. As we as most real mail clients.

You could always just bounce mail w/o a sensible text part...


>bounce mail w/o a sensible text part

Hmm... I’d like to, but I’m not sure how I’d do that on FastMail.

Eventually I may host my own emails, but until that day, I can’t really do much about this problem.

Maybe I could have an IMAP client on a server that is constantly connected to FastMail and looks at incoming emails to file them into an “HTML only” mailbox if they don’t contain a text/plain version?

I can read those emails from the FastMail Web Interface


I've not used sieve, but afaik fastmail supports sieve, and according to this: https://tools.ietf.org/html/rfc5173

It might be possible to match on non-empty text/plain?


> But most of the emails I receive are only text/html - no text/plain alternative

Care to elaborate on that? Virtually every email I get has a plain text version (I can't even see HTML email). I don't think the email I get is particularly selective. The only pure HTML email that I ever get is spam.


Sorry for the delay in replying, I don’t check my comments very frequently. Usually only in the morning.

I use mutt for emails, so believe me — I know when I get a text/html only email as mutt can’t display the text/plain version. Most emails I get from friends and so on are in text/plain as mail clients do a decent enough job at including that.

However most of my mail isn’t from people I know, it’s from newsletters and notifications. A lot of it is text/html only, either because the programmer who created and sent that email didn’t want (or know) to include a text/plain version, or didn’t care to.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: