Email Markup in Gmail
developers.google.com
developers.google.com
> Consistent history of sending a high volume of mail from your domain (order of hundred emails a day minimum to Gmail) for a few weeks at least.
Also, this is an old thing already. I thought everyone had seen this in their gmail!
Is there some sort of API to use for that? Or do you just use the normal means of sending email? If so, are there special terms that you have to agree to for this?
My SaaS sends emails on behalf of our customers (using their From address). Individually they don't send 100 email per day to Gmail, but in aggregate our platform does.
Looking to incorporate these into our own SaaS apps too, as soon as I get some spare time. I think this is a step in the right direction to reduce Inbox fatigue. Here's hoping that Google will be vigilant enough to stop people abusing this service.
The most it can do is send a GET request to a remote server
When this first launched, we found the technical docs for integrators to be a bit lacking, so wrote this up: http://blog.meldium.com/home/2014/5/19/setting-up-gmail-inbo...
It's Rails-centric, but will likely be helpful to integrators in other languages. Hope it's helpful!
Once the big players start adding custom features on top of existing protocols we start seeing fragmentation and parts of the market being cornered off. Once people start depending on this custom functionality, the vendor usually starts raising the walls to lock people in (see GTalk -> Hangouts.)
The spec is schema.org, which is a format defined by multiple parties, not just Google: https://en.wikipedia.org/wiki/Schema.org
And it's encoded using JSON-LD, which is also not a Google creation, and it's standardized by the W3C.
[0]: https://developers.google.com/search/docs/guides/intro-struc...
This is how innovation happens. If the experiment shows promise, it gains adoption by other vendors. This is basically how every browser advancement in the last 10 years (or more) has come around.
That's not my definition of open. My definition open is you can access the spec for free without limitation, and use, modify, and redistribute it as you see fit.
If I am feeling grandiose I will concede that openness requires not just access, but easy access and usability by all stakeholders. That's a little radical, but the point is just that there's a degree of accessibility implied in the above. If you have to crawl through a snake pit to get the source perhaps that's not really open.
But your definition, which requires buy-in from Oracle and PepsiCo in order to be "open"... I think I reject that definition.
The standard is http://json-ld.org plus https://schema.org. Client developers could freely implement it. It's a W3C standard. But don't modify it just because you can – standards don't like that.
It's annoying that google doesn't activate it for everyone, but that's like complaining about browsers allowing adblockers or SSL root certificates being tied to requirements.
That's not the 'open' part. That's the 'standard' part, where a broad consensus of all stakeholders is what ensures that it's not a mere thought experiment that lacks adoption.
This is already happening. Try writing html email that looks good on all email clients and witness the horrors
That's not quite true.
Google Talk is still available, and you can use that in place of Hangouts, and you can use third-party clients with it.
However, you cannot use third-party clients for group chats, and you cannot speak to users on other XMPP servers (there is no true federation).
Why send the rest of the ecosystem scurrying about, chasing their tails?
And if the ecosystem gets the rug abruptly pulled out from under it one time, then how many more times will their efforts get trashed? Probably as many times as is necessary to shake them loose.
No announcements, no roadmap, no communication channel, just a sudden upgrade and everything starts timing out, or throwing errors.
Someone threw the killswitch. And they'll toggle it as often as needed, to cut out whatever the target percentage of attrition is.
You know, people who use serious email, not to send pictures of balloons and 96-pt Happy Birthday in pink on purple text.
Meanwhile, my work e-mail account is fairly busy, pretty much all HTML, and I haven't seen balloons, 96-pt text, or purple background. (I do occasionally send pink text, though. I'm that person)
And all of these markup items are highly welcome. I'd rather live in the 21st century. (Although I would kill for procmail, but we can't win them all)
Why not? If anything, this should been a boon for us text-only client users, since the metadata is structured in a format that can be easily parsed and displayed in an appropriate way, instead of having to deal with HTML conversions.
Having a key shortcut on Alpine to activate the main email action, instead of having to cycle over the various links, sounds great to me.
Many high profile websites don't even bother sending a text/plain alternative with their emails anymore and the HTML is often cryptic when viewed from a text browser. Anything that can improve this is a good thing.
I do have a minor beef with this implementation however: at first I assumed that this metadata would be stored in custom email header (X-Mail-Action or whatever) but as far as I understand it's embedded in the HTML instead. It would make it more painful to add support for that to existing clients, especially if they use external tools to display HTML.
Now there's "Serious" email, and if you don't read your email on the cli, you're just an amateur easily impressed by shiny toys.
Can't make this stuff up... Or, you know, that structured data and semantic markup are excellent for any number of "advanced" uses.
The only danger is that some proprietary service sucks it all up.
You know, incompatible with anything else, with not even API access, no third party clients and Facebook as the ultimate arbitrator of your ability to reach anyone (including your customers).
Besides, what is wrong with HTML? And why doesn't it render properly in the gmail client?
This way they can use a more data-friendly format created and supported by multiple organizations (Schema.org), which any client can use freely.
As a non-Gmail user myself, I'm quite happy with their choice, since it means I can make it work with my client and my calendaring software.
This is quite an old feature - and one I love
Cool.
[1]: http://i.imgur.com/NGqqwad.png
NB, I can't see anything that specifically provides exactly this type of button in the API, and arbitrary buttons are sadly unlikely to be made available. [EDIT: Actually you can - see comment]
(Did anyone notice imgur being unable to upload earlier? It was 503ing out a few hours ago when I first went to post this comment.)
So now we know exactly how Monorail does it, that's really neat.
I like how you can answer both "no" and "yes" so that they will manually review.
That said, I tend to only use gmail for travel related email so reservations get into my calendar. For everything else I try to use my own domain on FastMail, or sometimes ProtonMail.
Not so practical for a one off event, but if you were doing this all the time, you could build a service that offered this sort of facility to the masses.
I google search for "birthday gift for mom" and now some retailer who has already emailed me a similar promotion will get that in the top of my search results? Meh.
Can see this getting abused by spammers and advertisers. I start getting "Pampered Chef invites" popping up all over my calendar.
It will be fun to see private emails poping up in the search when someone is sitting there with you while you do your search who should not have access to those emails.
They don't support PGP (Does Gmail?) at the moment, but are apparently working on it. What other approaches are there?
Sort of, with a Chrome extension: https://security.googleblog.com/2014/06/making-end-to-end-en...
(I've never used it)
But you're free to use any client with GPG support – the beauty of open standards. There should also be browser plugins that add it to the web interface.
(JS crypto also has issues.)
Is there another email provider that isn't hotmail, gmail or yahoo mail with good prospects at the moment?
I'm a paying Fastmail customer, and it's worth every cent.
But, I am having a hard time justifying switching my entire family over. A family of 4 is $20/mth, that's 25% of the cost of my internet connection and seems rather steep.
FastMail on the other hand is a closer equivalent to Google, supporting caldav and carddav for Calendars and Contacts; although as a downside you'll have to configure 3 accounts on iOS to get Mail/Contacts/Calendars via IMAP/CardDav/CalDav if I'm not mistaken.
Moreover, other providers are free to support this markup as well.
That allows markup for the regular html part of the mail to double as structured data for automation. I can't really decide what I prefer – this allows deduplication but gets complicated when the presentation doesn't follow the exact structure of the object you want to describe.