News for hackers. Stuff that matters.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by Lazare on Friday October 06, 2017 @12:01AM (#15414327)
I used and loved Nylas Mail (aka N1), so I'm going to be taking a close look at this.

For the record, my needs in a mail client are: GUI, very clean UI, pretty themes, good search, works with gmail, ideally supports snoozing emails (a key feature if you like to pursue Inbox Zero), if at all possible should be a desktop app for OS X and Windows, and I wouldn't be adverse to open notifications and such. Also, I'm explicitly fine with their being an extra server in the mix; this is more-or-less required for snoozing emails to work properly[1], and I'm not really concerned about privacy.

If that describes you, you might like Mailspring too. If not (and I suspect that'll be the case for the median HN visitor), then probably not. :)

Edit: Totally forgot, I also have a strong need for supporting multiple email accounts. A merged inbox view that will automatically use the correct email address/signature for replying to an email based on where the original email was sent is critical.

[1]: At least, every implementation of email snoozing I've seen had relied on a third party server. And once I got addicted to it with Dropbox's much-mourned Mailbox app, I've found it very hard to use a mail client without it.

Re:Mailspring: A fork of Nylas Mail by one of the original a... by chrismorgan on Friday October 06, 2017 @01:48AM (#15414702)
At FastMail we’re hoping to implement snooze next year, as a first-party solution that doesn’t need the support of a client or third-party server.

There is no established convention or standard for representing snooze over IMAP. There’s not yet any consensus on how to represent it in JMAP, the emerging standard that we’re backing (and which our web UI will be using fairly soon), either. It’ll be a FastMail-specific JMAP extension at first, but it could well be standardised (though not in the core spec) after that. We’ll see how things go.

Re:Mailspring: A fork of Nylas Mail by one of the original a... by bengotow on Friday October 06, 2017 @02:13AM (#15414786)
This sounds great - if you're interested in folks implementing the extension in third party clients, let me know!
Re:Mailspring: A fork of Nylas Mail by one of the original a... by zitterbewegung on Friday October 06, 2017 @10:28AM (#15417023)
That would be awesome. I'm trying transition off of Google services and this would help me a bunch. I love your product by the way <3
Re:Mailspring: A fork of Nylas Mail by one of the original a... by breakingcups on Friday October 06, 2017 @06:45AM (#15415738)
Which other parties are currently backing JMAP?
Re:Mailspring: A fork of Nylas Mail by one of the original a... by chrismorgan on Friday October 06, 2017 @08:27AM (#15416237)
I haven’t been working on the JMAP stuff (I only started working there this year and I’ve been focusing on our new product Topicbox), so I’m not aware of all the details; but JMAP standardisation is going through the IETF, so you can see things that are happening with it at https://datatracker.ietf.org/wg/jmap/documents/ and https://github.com/jmapio/jmap/issues.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by crispinb on Friday October 06, 2017 @12:09AM (#15414355)
> I'm explicitly fine with their being an extra server in the mix; this is required for snoozing emails to work properly

Out of interest, why would this be so? On the face of it a single client can keep its own snoozing metadata and use a helper process to do the work. I suppose if you want to ensure snoozing works across clients, you'd need a slightly clumsy workaround for the metadata (eg. encoded somewhere in the snoozed mails in a special IMAP folder). But it looks doable from the perspective of a shallow moment's thought. Admittedly, pretty much everything generally does.

Re:Mailspring: A fork of Nylas Mail by one of the original a... by Lazare on Friday October 06, 2017 @12:24AM (#15414413)
I'm really not sure to be honest. It does seem like you could do something weird with IMAP to make it work, but every implementation I know of uses a server.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by e12e on Friday October 06, 2017 @08:08AM (#15416114)
If your client(s) handle the snoozing, copy "snoozed" messages to the "Snooze" folder (like "Draft", "Sent") - and check the date/time before copying it back to the "Inbox" as unread? If there's no meta-data readily availabile over IMAP (last modified...), maybe use "Snooze/deliver-at-1205-10102017" - a subfolder for each time slot?
Re:Mailspring: A fork of Nylas Mail by one of the original a... by kwhitefoot on Friday October 06, 2017 @12:47AM (#15414489)
Why is it regarded as weird to use IMAP for this? It seems like an obvious use for IMAP.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by crispinb on Friday October 06, 2017 @12:56AM (#15414530)
I don't know IMAP beyond the very basics, but I presumed that it doesn't include facilities for adding metadata. Correct me if I'm wrong! So if you wanted to store snoozing info, you'd have to encode that oddly somewhere -- in a fake email item name? Or as an added mail header (if it's considered polite for clients to add them)?
Re:Mailspring: A fork of Nylas Mail by one of the original a... by _jal on Friday October 06, 2017 @02:51AM (#15414905)
Using a header works fine - making up your own is legal. I've been known to add headers for entertainment purposes.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by Arnt on Friday October 06, 2017 @03:39AM (#15415047)
You can't write headers to messages you receive.The only way is to download the message (including the three 78MB PDF attachments you got from that graphic designer), add the header field, upload everything and delete the first message.

But if your longish snoozes end at the same time, you can use a flag.

(IMAP's cache semantics say: If you download a part of the message it stays valid. Other people cannot change what you have downloaded.)

Re:Mailspring: A fork of Nylas Mail by one of the original a... by _jal on Friday October 06, 2017 @11:28AM (#15417526)
I'm aware of that. Not saying it is the right method, just that it is the best general method we have.

And I'm also thankful that I trade mail with far fewer designers these days.

Re:Mailspring: A fork of Nylas Mail by one of the original a... by vhbit on Friday October 06, 2017 @03:55AM (#15415106)
As I remember IMAP allows to add freeform flags to every message.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by StavrosK on Friday October 06, 2017 @07:15AM (#15415839)
IIRC that's how gmail implements its labels.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by pferde on Friday October 06, 2017 @08:20AM (#15416199)
I don't think so, since gmail had labels before they added IMAP support. Also, when accessing gmail via IMAP, you see the labels as IMAP folders, which leads me to believe that they just bolted the IMAP interface on top of whatever backend they use to store messages internally.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by StavrosK on Friday October 06, 2017 @08:57AM (#15416416)
I meant that that's how they implemented labels for their IMAP support, but you may be right, they may be folders instead.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by kwhitefoot on Saturday October 07, 2017 @04:35AM (#15422921)
I have used the subject for metadata as a way of storing backup files in IMAP. You can also use tags and as someone else mentioned you can do all sorts of things with headers.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by crispinb on Friday October 06, 2017 @12:31AM (#15414439)
Fair enough. It was just an idle thought.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by lloydde on Friday October 06, 2017 @01:35AM (#15414639)
> At least, every implementation of email snoozing I've seen had relied on a third party server.

At least on Mac there are some client side only ones:

- https://sparkmailapp.com/

- https://canarymail.canny.io/

- MailTags for Mail.app has a “tickle” feature that meets all the requirements

That is from a few minutes searching.

Re:Mailspring: A fork of Nylas Mail by one of the original a... by sigzero on Friday October 06, 2017 @09:16AM (#15416513)
I was under the impression that one of the dings on Spark was that it did use their servers for some of their functionality.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by RexM on Friday October 06, 2017 @12:20AM (#15414394)
This might be good for you. I haven’t been following along very closely but I believe the concept of a Nylas ID is gone.

https://github.com/nylas-mail-lives/nylas-mail

Re:Mailspring: A fork of Nylas Mail by one of the original a... by BCM43 on Friday October 06, 2017 @10:31AM (#15417042)
It's gone for IMAP. Gmail and other instances still contact the Nylas cloud servers, though there are plans to remove those calls.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by the_common_man on Friday October 06, 2017 @12:06AM (#15414348)
Can you tell me what is wrong with gmail? It seems to check all your boxes.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by Lazare on Friday October 06, 2017 @12:23AM (#15414406)
I prefer desktop clients (even the horrible electron things that pass as such these days), and I'm not thrilled with gmails UI which I find a bit cluttered and frustrating. It also doesn't support email snoozing, which I love.

Google Inbox is a better UI, but goes too far the other way towards wasting too much space. It's also missing some key features, and is still not a desktop client.

Also, neither one of them supports showing emails from multiple gmail accounts in a single inbox (unless you just blindly forward emails from one to the other, which you can do, but I'd rather avoid).

I recognize I'm being very picky here; mostly what I just want is Dropbox's Mailbox app, but they killed that off long ago, much to my eternal disappointment.

Re:Mailspring: A fork of Nylas Mail by one of the original a... by jrimbault on Friday October 06, 2017 @03:51AM (#15415095)
I think I'm not sure what you mean by "snoozing emails" ? Isn't it just muting for a few minutes the alerts you'd get ? Just to clarify for me.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by KGIII on Friday October 06, 2017 @05:43AM (#15415518)
Snoozing emails removes them from your inbox for a set amount of time.

Imagine you read emails in an unread folder, where read emails disappear. This basically would functionally mark them as read until a preset amount of time passes, then they show up as unread again. It's a bit like that, only in your inbox itself.

It's not actually a part of the email specifications, but some people seem to like it.

Re:Mailspring: A fork of Nylas Mail by one of the original a... by jrimbault on Friday October 06, 2017 @05:54AM (#15415573)
Thank you. And why does it seem to require a third party server ?
Re:Mailspring: A fork of Nylas Mail by one of the original a... by dsr_ on Friday October 06, 2017 @07:13AM (#15415827)
Obvious implementation: use IMAP to create a folder, snooze-$timestamp. Move messages there. Every so often, check the snooze-$timestamp folders and present every one where the timestampt has expired as part of the unread group. Delete empty folders.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by shakna on Friday October 06, 2017 @06:54AM (#15415765)
> - It still has the same great pro features, like snoozing and send later, but doesn't send your email credentials to Mailspring servers. All of these features have been re-implemented to run locally on your computer.

It doesn't require a third-party server. Nylas did do it that way, but Mailspring aren't. It's local.

Re:Mailspring: A fork of Nylas Mail by one of the original a... by KGIII on Friday October 06, 2017 @07:11AM (#15415817)
Yeah, it seems easy enough to do client side unless one wants it to be synchronized across devices. Then, I imagine it'd be easy for the email provider to do, though it'd need client support or to be in the browser.
Re:Mailspring: A fork of Nylas Mail by one of the original a... by LudoA on Friday October 06, 2017 @03:22AM (#15414997)
> It's also missing some key features

I'm curious, such as what?

Re:Mailspring: A fork of Nylas Mail by one of the original a... by maxyme on Friday October 06, 2017 @12:14AM (#15414372)
Gmail has limited support for multiple email addresses. For people like me with a lot of inboxes it isn't sufficient. There is also a pretty significant delay on any non main account addresses.