# Gmail filters for direct mentions?

**URL:** <https://discuss.openedx.org/t/gmail-filters-for-direct-mentions/770>\
**Category:** Discourse\
**Created:** [October 27, 2019, 1:29am UTC](https://discuss.openedx.org/t/gmail-filters-for-direct-mentions/770 "2019-10-27T01:29:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jill](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/jill/32/3188_2.png) [@jill](https://discuss.openedx.org/u/jill)\
**Post date:** [October 27, 2019, 1:29am UTC](https://discuss.openedx.org/t/gmail-filters-for-direct-mentions/770/1 "2019-10-27T01:29:40Z")

</div>

Hello!

Has anyone figured out how to create a gmail filter to flag/label/otherwise distinguish messages from [discuss.openedx.org](http://discuss.openedx.org) which directly mention you? I’ve tried filters like this, but they just match everything, since the email “to” field always matches my name:

```auto
list:(development.discuss.openedx.org) "@jill"
list:(development.discuss.openedx.org) +"@jill" 

```

I’m afraid my only options are to a) remember to check the [/notifications/mentions](https://discuss.openedx.org/u/jill/notifications/mentions) page often, or b) change my Discourse notification settings so that I don’t get every post sent to my Forums inbox, just the direct mentions or followed posts… which would be ok, but I do like having a very searchable record in my inbox.

How have other people been managing this?

---

<div class="post-metadata">

**Author:** ![mahyard](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mahyard/32/54_2.png) [@mahyard](https://discuss.openedx.org/u/mahyard)\
**Post date:** [October 27, 2019, 5:14pm UTC](https://discuss.openedx.org/t/gmail-filters-for-direct-mentions/770/2 "2019-10-27T17:14:30Z")

</div>

Hello Jill,  
it looks like that Gmail doesn’t recognize special search characters and therefor it is not possible to create a filter by searching “@username” but you can create a filter by searching this expression `from:openedx@discoursemail.com -jill` and it’ll significantly reduce number of received emails directly inside your inbox. unfortunately i found that if you create a post yourself and the responder doesn’t mention you in his response, then it would be filtered out. I myself managed to filter out all emails from discuss into a category and I check that daily or every couple of days.

---

<div class="post-metadata">

**Author:** ![nedbat](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/nedbat/32/3317_2.png) [@nedbat](https://discuss.openedx.org/u/nedbat)\
**Post date:** [October 27, 2019, 9:43pm UTC](https://discuss.openedx.org/t/gmail-filters-for-direct-mentions/770/4 "2019-10-27T21:43:23Z")

</div>

@jill I don’t know a way, but I’ve asked on [meta.discourse.org](http://meta.discourse.org): [https://meta.discourse.org/t/notification-reasons-in-the-email/132009](https://meta.discourse.org/t/notification-reasons-in-the-email/132009)
