Live data from Hacker News

Modern email can be built from borrowed parts

en.andros.dev

121–130 of 165 posts

Re: Modern email can be built from borrowed parts

#121

I think the network effects make email hard to replace, virtually everyone online has an email address. If this could include a migration path, with backwards compatibility with SMTP, I think it would have a better shot of getting adoption. Modern email already depends on HTTP, with protocols like MTA-STS ( https://www.rfc-editor.org/info/rfc8461/ ) using HTTPS/TLS to improve transit encryption, or Web Key Directory…

There is an easy way to mostly replace email over a decade, with the NewEmail protocol NewEmailServers are able to send and receive messages using either the Email or the NewEmail protocol. Before sending a message, the NewEmailServer checks a directory (similar to DNS) to see if any of the recipients are on another NewEmailServer. If so, the message is sent to those recipients via NewEmail. Others get it by Email. C…

I think Gmail did this! Gmail can send and receive messages to either Email or Gmail. Google and Microsoft talk to each other with something proprietary too.

We shouldn't be discussing the best ways to Embrace, Extend, Extinguish, because EEE and its consequences have been a disaster for internet openness, and we don't want to be increasing its spread.

Re: Modern email can be built from borrowed parts

#122

I think the network effects make email hard to replace, virtually everyone online has an email address. If this could include a migration path, with backwards compatibility with SMTP, I think it would have a better shot of getting adoption. Modern email already depends on HTTP, with protocols like MTA-STS ( https://www.rfc-editor.org/info/rfc8461/ ) using HTTPS/TLS to improve transit encryption, or Web Key Directory…

> we deserve better email however we can build it Let's start with grouping messages into conversations reliably. Whatever black magic they are currently using is almost there, but has it's flaws.

Message-ID and In-Reply-To? How would you do it better?

Re: Modern email can be built from borrowed parts

#123
post #2

> First-contact consent: an unknown sender doesn't get into the mailbox; they land in a "requests" box with their first message visible (like Signal's message requests). You accept, and the thread opens forever. A stranger can knock on your door, which is the essential property of mail, but they can't fill up your living room. I like this. Question: can this e-mail specification/implementation also replace direct-mes…

The original Delta Chat literally implemented WhatsApp-over-email.

They've since changed the design so it uses its own protocol and servers instead of email.

Re: Modern email can be built from borrowed parts

#124

Earlier quoted context omitted.

> I like this. Honestly, I'd want this as a default. I wonder if a mailserver can be configure like this. Doesn't sound too hard, does it?

"We" tried this in the late 1990s. I remember writing an exim config to do this a couple of ways back in my ISP times: 1. "The recipient will not get this message until you authenticate yourself as a legitimate sender at this URL [...]" - resulted in people never getting mail from no-reply addresses they cared about (banks, e-com, etc.) 2. "This sender has sent you an email, with this subject and this first paragraph…

Baking any of these into the protocol will invalidate it. If there was a standard way to specify a URL to open to whitelist an address, spammers would just whitelist their addresses.

Re: Modern email can be built from borrowed parts

#125

Earlier quoted context omitted.

"We" tried this in the late 1990s. I remember writing an exim config to do this a couple of ways back in my ISP times: 1. "The recipient will not get this message until you authenticate yourself as a legitimate sender at this URL [...]" - resulted in people never getting mail from no-reply addresses they cared about (banks, e-com, etc.) 2. "This sender has sent you an email, with this subject and this first paragraph…

It also misses one of the biggest fundamental problems with SMTP: Lack of per-recipient replies. Though you could potentially mandate a single recipient per request. We wrote a plugin to emulate that in Haraka, where you just 400 (temp fail) each subsequent recipient. The downside is some sources just plain don't retry.

LMTP is a small modification of SMTP with a per-recipient response code - but I'm not sure what it's intended for. It isn't used on the internet. It's sometimes used as IPC within a mail server.

Re: Modern email can be built from borrowed parts

#126

Earlier quoted context omitted.

>> The fact nobody reinvented e-mail on top of a different set of standards is a good indication that the current stack is not as broken as some people would like to think. email is one of those technologies that "just works" but so many people seem to think it needs to be "fixed". it's generally very reliable and so people should just accept that and be grateful. It could be worse - it could be enshittified like so…

> it's generally very reliable and so people should just accept that and be grateful It's only really "very reliable" if you use Google or Microsoft for email, since they are the arbitrator of modern email.

Self-hosted receiving is also very reliable. Only when you send from your server you might have blacklisting problems. But so many applications today are receive-only - every website signup.

Re: Modern email can be built from borrowed parts

#127
post #61

I would advise reconsidering keeping the current format exactly. Something that would allow conventional email addresses to kept in a list that disambiguates them unambiguously would probably be a good idea. You don't want to embed the entire email in JSON. Too many parsers past, present, and future tend to want to decode the entire JSON document into memory before doing anything else, and so you'd be forcing entire…

Email already has the problem of complete buffering. That's why various services limit you to 10MB or 25MB.

Re: Modern email can be built from borrowed parts

#128

Earlier quoted context omitted.

Sending email is already cheap, not free. Just so happens the cost is subsidized/hidden for most regular people and its so cheap that they give it away for free. For those of us that run transactional email, the cost is ~ $0.0001 per email for AWS SES, already at the fraction of a fraction of a cent you suggest.

Yes, but I want the rate to be variable depending on volume. I want it to be $0.0001 for a simple personal email. But if you send 10,000 emails today, I want it to cost you $100 (or more). Many schemes to do this. Things like: The first 10 emails is $0.0001 each. The next 10 will be $0.001 each. And so on. You can always fiddle with the thresholds and costs.

I'm 10000 people sending 1 message each, to get the cheap cost for every message.

Re: Modern email can be built from borrowed parts

#129

Earlier quoted context omitted.

This is impractical because micropayments are impractical. I have a better idea; split the problem into two. First, require all messages to include an `Automated: 0|1` header; eventually downranking / banning providers that don't include it, like we now do with DKIM, SPF, DMARC and such. For messages with `Automated: 1`, require informed consent, mediated and verified through the recipient's provider. It's impractica…

Today, Gmail and other major providers do this by tracking sender reputation at the domain level. If users mark your emails as spam, that hurts your domain's reputation. If a domain's reputation gets low enough, Gmail won't deliver mail from that domain. It's better than nothing (much better than nothing, IMO), but but spam will continue to be an issue as long as we want/expect to receive incoming mail from strangers…

It has the fuzzy false positive problem too: suppose a million Gmail users sign up for your newsletter with email confirmation and all. Two months later you send a newsletter. A thousand of those will be annoyed by it despite explicitly subscribing and will report it as spam. Boom, you're now banned from Gmail.

Re: Modern email can be built from borrowed parts

#130
post #26

> Let's design the successor to email on top of HTTP You can stop there, I've heard enough. Not everything is hypertext.

And HTTP transports many, many more things than hypertext. It seems like a sensible choice for this use case in terms of capabilities.

Why, what advantage does adding the extra layer bring? You can just open a socket and send JSON to it, you know, you don't need this layer. But if the layer brings advantages then you should, but you have to explain the advantages.
Post reply on HN