Mailspring: Bug: mail rules appear to be case sensitive

Created on 6 Aug 2020  路  2Comments  路  Source: Foundry376/Mailspring

Describe the bug
I have been using a mail rule automatically marking as read anything appearing in my inbox sent to "[email protected]" rather than directly to my address. It was only working part of the time, and on closer inspection I noticed that mail addressed to "[email protected]" was being caught by the rule, but mail addressed to "[email protected]" was not.

To Reproduce
Steps to reproduce the behaviour:

  1. Introduce a to equals rule with a lowercase email address marking all such emails as read.
  2. Send test messages which give the email address in both lower and upper case.
  3. Check which messages the rule has been successfully applied to.

Expected behaviour
I would expect a rule like this to be case-insensitive. Perhaps this was intentional, to allow users greater freedom to discriminate, but I can't imagine a use case for that, and presumably technically (however unlikely this is to matter) I would have to introduce rules for every variant of "[email protected]" to get the expected behaviour right now!

Setup: (please complete the following information):

  • OS: Kubuntu Linux
  • OS Version: 20.04.1 LTS (Focal Fossa)
  • Mailspring Version: 1.7.8-13635bcf
bug done-pending-release

All 2 comments

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Hey thanks for reporting this! I totally agree these rules, especially for the address fields, should be case insensitive. I'm putting together another release now, will see if I can fix this real quick 馃檶

Was this page helpful?
0 / 5 - 0 ratings