Live data from Hacker News

Show HN: Switchboard – open-source email processing in Erlang

switchboard.spatch.co

11–20 of 38 posts

Re: Show HN: Switchboard – open-source email processing in Erlang

#11
post #4

Looks nice so far, worked with IMAP for a while, not fun... So is it on top of IMAP or ... ?

It seems to be, as far as I understand. If that's actually the case, how do you handle the case where someone read a new mail (and thus, mark it as read) before app processed it ?

The application uses IMAP UID/UIDVALIDITY values, typically along with IDLE, to identify new emails in a mailbox. These don't change when an email is read, so marking as read doesn't introduce any race conditions in this case.

Re: Show HN: Switchboard – open-source email processing in Erlang

#13
post #10

Earlier quoted context omitted.

It seems to me that this is the startup idea, built on top of this tech.

Seemed to me that it wasn't particularly meant for internal business comms. Just random comms.

Would be a good idea to market it for those two verticals.

Re: Show HN: Switchboard – open-source email processing in Erlang

#14
post #6

I did a project like this a few years ago and here are my takeaways: 1. Building on top of IMAP is very difficult. It's not a technology that is really designed for the mobile world of today (e.g. streaming, sockets for chat) 2. Threading is a bitch. The old folder tree layout is formidable. ---------------- That said, it's so cool to see something like this in the wild. As an engineer, I would've used this as a boil…

1. IMAP is powerful and ubiquitous, but it does put a lot of work on the client: implementing a parser, caching values, correctly handling unsolicited messages. Switchboard tries to carry some of this boilerplate weight.

2. Yes! We still have to work this into Switchboard, but conversations in the JMAP (http://jmap.io) spec give an idea of how it will be implemented.

Re: Show HN: Switchboard – open-source email processing in Erlang

#16
post #15

will evaluate this thoroughly , needed something like this .

Great, I hope it's a good fit! 

If not, please let us know about any sticking points either through the mailing list, switchboarddev _at_ librelist.com, or the GitHub issues page.

Re: Show HN: Switchboard – open-source email processing in Erlang

#18
post #17

Could this be used for automatic GPG encryption before storage on disk?

I'm guessing that you want the emails to be encrypted before being saved to any disk? In that case, Switchboard isn't sufficient: it runs in front of email providers, and can't prevent them from saving an email to disk.

Switchboard could be used to fetch the email, encrypt it, and then replace the unencrypted email with the encrypted email on the server. However, replacing emails is invasive if the user doesn’t expect it, and other than the email provider's word you have no guarantee that the unencrypted email was actually deleted.

Post reply on HN