nylas / nylas-mail

:love_letter: An extensible desktop mail app built on the modern web. Forks welcome!
https://nylas.com/nylas-mail/
MIT License
24.8k stars 1.38k forks source link

Rules for picking alias to reply from #3454

Open muadnu opened 7 years ago

muadnu commented 7 years ago

This is more of a request than an issue. I'm using Nylas Mail (on Linux) with a Gmail account to which I forward emails from my work account. I have an alias set up on Nylas, and as expected when I get receive an email directed to my work address account Nylas picks the right alias when I reply.

But I receive many emails on my work account which were not sent to my own address, but instead to one of many mailing lists, and in that case Nylas fails to pick my work alias when I reply. It would be great if Nylas could pick the aliases based, say, on the domain of the address to which the message was sent, or maybe use something like "delivered-to" in Gmail (I think that's what Gmail uses, where in any case the correct alias is always picked).

shreebles commented 7 years ago

That would be great. Some programs have this functionality: When replying to an e-mail, always use the address that the initial e-mail was sent to.

yehiasalam commented 7 years ago

just saw your issue after posting the same comment :D , https://github.com/nylas/nylas-mail/issues/3462, @shreebles @muadnu interested in contributing this to the code base?

muadnu commented 7 years ago

@yehiasalam my coding experience is limited so I can't contribute much. I'd be happy to test any patches though.

shreebles commented 7 years ago

@yehiasalam unfortunately the same for me, I'm no developer, just an interested user with a technical background.

yehiasalam commented 7 years ago

okay cool, Nylas is actually handling this when I digged deeper in the code, however the email comparison with alias was done in a case sensitive format, added the hot fix and created a pull request here https://github.com/nylas/nylas-mail/pull/3473, hope it gets integrated quickly, Cheers.