I would like to find better solution than filtering emails by this filter

has:attachment larger:25kb (filename:jpg OR filename:gif OR filename:png)

because Gmail filtered everything with attachment, but I need filter only email with an image in the body of an email.

  • That could be a little tough, because it may depend on how the image is embedded. – ale Aug 23 '16 at 12:49
  • The first question that is it a possible to check is image in mail body. Secondary I can check e.g. width. – P.Milan Aug 25 '16 at 9:17

Well, regarding the official documentation there is no way to search for an embedded image.

By the way you can simplify the query a little: has:attachment larger:25kb filename:(jpg OR gif OR png)

  • ad Reply -> in an official documentation sometimes something missing ad BTW -> yeah, it is true – P.Milan Aug 25 '16 at 14:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.