Adding a wildcard to filters would enable searching for all emails sent to a specific domain (ie @gmail.com) and filtering on tag to find related emails (client_ for all emails sent on behalf of clients for example).
I tried to look into the code (even though I'm no Ruby expert), and I guess it's possible to check for wildcards in the hash_to_sql function in database.rb (near line 371) and use a LIKE operator , but I'm not sure of the security implications of this change, nor the performance impact it would have.
Adding a wildcard to filters would enable searching for all emails sent to a specific domain (ie @gmail.com) and filtering on tag to find related emails (client_ for all emails sent on behalf of clients for example).
I tried to look into the code (even though I'm no Ruby expert), and I guess it's possible to check for wildcards in the hash_to_sql function in database.rb (near line 371) and use a LIKE operator , but I'm not sure of the security implications of this change, nor the performance impact it would have.