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.81k stars 1.38k forks source link

the email match should be case insensitive when selecting the alias #3473

Open yehiasalam opened 7 years ago

yehiasalam commented 7 years ago

The _fromContactForReply selects the right email address to fill the from field when replying to messages. The emailMatch should be case insensitive when comparing the list of alias and the to field of the email. This solves the issue for ticket https://github.com/nylas/nylas-mail/issues/3462 and https://github.com/nylas/nylas-mail/issues/3454

dweremeichik commented 7 years ago

@yehiasalam I know this PR is from some time ago. Nylas is no longer supporting this product, but we would love to have a PR for this against Nylas Mail Lives.