The error message suggests that the @from variable is empty, so no wonder the RE fails.
On Wed, 10 Feb 2021 at 18:08, Roy T. Fielding <field...@gbiv.com> wrote: > > Wow, Apple Mail really messed that up by adding mailto links everywhere. What > I meant was > > you should also note that \w excludes hyphen and ".", so > apache....@apache.org > will not match regardless. You need [\w\+\=\.\-]+@apache.org (or > something), or > just check the end with /\@apache\.org>?$/ I don't think apache....@apache.org is currently possible as an ASF email, but point taken, the RE could be a bit less strict. However, given that @from appears to be empty, I wonder if it is necessary. This needs to be checked. > ....Roy >