implement matcher for messages having a given attachment