Character limit for gmail filter

I’ve found the character limit for a gmail filter is between 1,469 – 1,488 characters. If you do anything more than 1,488 characters, you’ll get this error when saving the filter:

mail.google.com says The specified filter is too long. Please specify shorter filter search criteria.

If you keep your filters under 1,469 characters, you’ll be ok.

What am I doing with a 1460-character filter?

I’m making a gmail filter so if anyone in my address book emails me to my secondary email address, that email will get forwarded to my primary email address.

I have two email addresses. The primary email address is for people I know. The secondary email address is for signing up for things. That way, my primary email gets very focused emails. I don’t get lots of junk. However, sometimes people I know still email me at my secondary email address.

I don’t want to miss these emails.

So I exported all the email addresses in my address book, and I’m making monster-long filters. Each filter looks something like this ooks something like this:

from:(a.andrews@website.com) OR from:(aaron@website.com) OR from:(abe@website.com) OR from:(alice@website.com) OR from:(andy@website.com) OR from:(art@website.com) OR from:(abe@website.com) OR from:(billy@website.com) OR from:(bob@website.com)

I was trying to see how many email address I can stuff into one filter. The answer is between 1,469 to 1,488 characters. That’s 45 to 46 email addresses per filter.

Now a series of filters that will automatically forward emails from anyone in my gmail address book.

Enjoyed this blog post?

Join the creatives who receive thoughtful Spudart blog posts via the email newsletter

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x