Topic Wiki

I'm assuming that most ddf'ers don't realize how useful and powerful the gmail filters and search is. Therefore I will try to show you how it can be used on a daily basis

Random useful trick: when typing an email, hit Ctrl+Enter to Send it

Note: You can always use 2 operators at the same time. All search terms can be used in the filters. Except the in: and is: command because filters are for incoming only

All the commands (the thing you want to do) are called operators.

Shortcuts: Press ? in Gmail to see a list of keyboard shortcuts. Some keyboard shortcuts can be used immediately, and others need to be enabled before you can use them.

From: To search for an email you received   A) By name B) A particular email address. C) A email sent from a particular domain use a *   
Example: From:Dad or From:Dad@thebestone.com or From:*@dansdeals.com   

To: To search for an email you sent  A) By name B) A particular email address. C) A email sent to a particular domain use a *   
Example: To:Dad or To:Dad@thebestone.com or To:*@dansdeals.com

Subject: To search for a subject (duh!)
Example: Subject:Thunder     

Label: Search by Label
Example: From:dad Label:occasions
Note: If a label have 2 names then you must include a "-" (hyphen) Example: Label:my-family

Attachments There are 3 ways to search for attachments.
1.Has:attachment  Will show all messages that have attachments. To search for attachments from a specific person or a specific label etc. use the appropriate operator. Example: from:david has:attachment or Label:party has:attachment 
2.Filename: Will search for a specific file. To search for files from a specific person or a specific label etc. use the appropriate operator.
Example: Filename:example.pdf or Label:Dad Filename:shoppinglist.txt
3.By file type Example: filename:(jpg OR jpeg OR png OR gif)

*The in: operator will search for messages anywhere in Gmail
Note: Messages in Spam and Trash are excluded from searches by default; except if you use in:anywhere 
Example: in:anywhere. in:inbox in:trash in:spam
To search for files from a specific person or a specific label etc. use the appropriate operator. Example: in:trash from:amy
Note: For priority messages use is:important

*The is: operator will search for items with a certain status.
Example: is:important is:starred is:unread is:read is:chat[/b]
You can combine them also Example:  is:read is:starred from:David or is:chat money   

*Has: Search for messages with a particular star
Example:  has:yellow-star has:red-star has:orange-star has:green-star has:blue-star has:purple-star has:red-bang has:orange-guillemet has:yellow-bang has:green-check has:blue-info has:purple-question
Has:nouserlabels Finds all messages without any of your own labels (excludes automatic labels like inbox, spam, and trash).

cc: bcc:  Used to specify recipients in the cc: or bcc: fields
Note Search on bcc: cannot retrieve messages on which you were blind carbon copied.
Example: cc:david Messages that were cc-ed to David.

*after: before: older: newer:  Search for messages sent or received during a certain period of time (using the date format yyyy/mm/dd)
Example: after:2014/04/16 before:2014/04/18 Messages sent between April 16, 2014 and April 18, 2014.*
*More precisely: Messages sent after 12:00 AM (or 00:00) April 16, 2014 and before April 18, 2014.

*older_than newer_than Similar to older and newer, but allows relative dates using d, m, and y for day, month, and year
Example:newer_than:2d Finds messages sent within the last two days

deliveredto: If you have another email address forwarded to this email address. You can use this to filter just the messages from that email.
Example: deliveredto:username@gmail.com

size:  Search for messages larger than the specified size in bytes
Example: size:1000000 All messages larger than 1MB (1,000,000 bytes) in size.

larger: smaller: Similar to size: but allows abbreviations for numbers
Example: larger:10M All messages of at least 10M bytes (10,000,000 bytes) in size.

Search Terms

OR   To search for Term A or B
Example:From:Dad OR From:Mom  or From:dad|from:mom
Note: OR must be capital.  You can also use "|" [located on top of the enter key or tab key] this is very useful in filters.
"-" Used to exclude messages from your search Example: From:dad -Dinner
"+"(plus sign) or """ Match the search term exactly.
Example: +unicorn or "unicorn"  Finds messages containing “unicorn” but not “unicorns” or “unciorn”
"( )"  Used to group words and to specify terms that shouldn't be excluded.
Example: from:amy (dinner OR movie) or subject:(dinner movie)


* Cannot be used in a filter because the filter is for incoming only.
 

All this info can be found on https://support.google.com/mail/answer/7190?hl=en
« Last edited by shoobi on July 28, 2015, 01:00:47 PM »

Author Topic: Gmail tips, tricks and questions  (Read 251918 times)

Offline Yo ssi

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Aug 2019
  • Posts: 7331
  • Total likes: 2994
  • DansDeals.com Hat Tips 66
  • Gender: Male
    • View Profile
Re: Gmail tips, tricks and questions
« Reply #1100 on: July 22, 2024, 10:35:16 PM »
Interesting, what's an example of one?
_    ,
' )  /
 /  / __   _   _   o
(__/_(_)  /_)_/_)_<_
 //
(/

Online Jojo202

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Jun 2020
  • Posts: 776
  • Total likes: 333
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: Brooklyn, NY
Re: Gmail tips, tricks and questions
« Reply #1101 on: July 23, 2024, 01:25:37 AM »
That's what I've been dealing with, bombarded with such spam to the extent of 100s per hour
Ofc you can modify /add whatever criteria you're dealing with.

The point is to clear the spam of definite junk so false positives can be noticed...

Can you explain the encoded emojis part? Why do they do that? What does it look like? What's the trick?
Anything to do with this possibly totally unrelated but definitely very interesting article that I will also put here for safekeeping (hoping that @mevinyavin didnt actually once post it and thats the way I even heard of this....)?

Offline mevinyavin

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Sep 2022
  • Posts: 2657
  • Total likes: 3115
  • DansDeals.com Hat Tips 5
  • Gender: Male
    • View Profile
    • Laptop help/deal request template
  • Location: Yerushalayim
  • Programs: Windows 10 and 11 Home, Word/Excel/Publisher 2021, Wordweb, McGill English Dictionary of Rhyme, VLC, Torat Emet, 7-Zip, Lightshot, Calibre, FDM, FreeFileSync, Teracopy, Handbrake, Lightshot
Re: Gmail tips, tricks and questions
« Reply #1102 on: July 23, 2024, 03:39:27 AM »
Can you explain the encoded emojis part? Why do they do that? What does it look like? What's the trick?
Anything to do with this possibly totally unrelated but definitely very interesting article that I will also put here for safekeeping (hoping that @mevinyavin didnt actually once post it and thats the way I even heard of this....)?
Not only did I not post that, I have this thread on ignore. (Not a gmail user.)
Quote from: ExGingi
Echo chambers are boring and don't contribute much to deeper thinking and understanding!

Online Jojo202

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Jun 2020
  • Posts: 776
  • Total likes: 333
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: Brooklyn, NY
Re: Gmail tips, tricks and questions
« Reply #1103 on: July 23, 2024, 12:28:40 PM »
Not only did I not post that,
And of course it happened.... and it was @Alexsei ... Ironic

I have this thread on ignore.
I obviously knew that, which is why I had to mention @mevinyavin;)

(Not a gmail user.)
And now that you are begging for it, what do you use instead of gmail?
« Last Edit: July 23, 2024, 12:33:33 PM by Jojo202 »

Offline Alexsei

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Sep 2011
  • Posts: 6322
  • Total likes: 2044
  • DansDeals.com Hat Tips 5
    • View Profile
    • Travel & Kivrei Zadikim
  • Location: Truckistan
  • Programs: COVID-24
Re: Gmail tips, tricks and questions
« Reply #1104 on: July 23, 2024, 01:15:45 PM »
Can you explain the encoded emojis part? Why do they do that? What does it look like? What's the trick?
Anything to do with this possibly totally unrelated but definitely very interesting article that I will also put here for safekeeping (hoping that @mevinyavin didnt actually once post it and thats the way I even heard of this....)?

Emails can leak in a million ways, there are so many data breaches happening every day, but if you're asking about keepass specifically, I use choco to install it.

Interesting, what's an example of one?
I shut the script now so that I can get a screenshot for you...
Who's the most ignored user on the forums?

Online Jojo202

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Jun 2020
  • Posts: 776
  • Total likes: 333
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: Brooklyn, NY
Re: Gmail tips, tricks and questions
« Reply #1105 on: July 23, 2024, 01:49:32 PM »
Emails can leak in a million ways, there are so many data breaches happening every day, but if you're asking about keepass specifically, I use choco to install it.
I shut the script now so that I can get a screenshot for you...
I dont really understand what you mean. What is "encoded emojis" and why would scammers use that?
...
This?

Offline Alexsei

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Sep 2011
  • Posts: 6322
  • Total likes: 2044
  • DansDeals.com Hat Tips 5
    • View Profile
    • Travel & Kivrei Zadikim
  • Location: Truckistan
  • Programs: COVID-24
Re: Gmail tips, tricks and questions
« Reply #1106 on: July 23, 2024, 02:07:20 PM »
I dont really understand what you mean. What is "encoded emojis" and why would scammers use that?
...
This?
Exactly, don't ask me why they do that but that is a clear pattern I could identify from the current attack
Who's the most ignored user on the forums?

Online Jojo202

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Jun 2020
  • Posts: 776
  • Total likes: 333
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: Brooklyn, NY
Re: Gmail tips, tricks and questions
« Reply #1107 on: July 23, 2024, 03:25:55 PM »
Exactly, don't ask me why they do that but that is a clear pattern I could identify from the current attack
...And my image is already on your github page. Cool.  ;D
I guess this is all good as long as no real senders decide to do anything weird like this...

-Now I have a different question. How do spammers have their address in the FROM: and different adress (not mine) in the TO: field. Whats the point of it and how do they do it?
 


Offline Alexsei

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Sep 2011
  • Posts: 6322
  • Total likes: 2044
  • DansDeals.com Hat Tips 5
    • View Profile
    • Travel & Kivrei Zadikim
  • Location: Truckistan
  • Programs: COVID-24
Re: Gmail tips, tricks and questions
« Reply #1108 on: July 23, 2024, 03:46:34 PM »
I guess this is all good as long as no real senders decide to do anything weird like this...
I'm only doing it within the spam folder, I find Gmail does a good job getting those emails there

-Now I have a different question. How do spammers have their address in the FROM: and different address (not mine) in the TO: field. Whats the point of it and how do they do it?
Anyone can manipulate email headers, why do do it? IDK? perhaps it's BCC? if you look at the full headers you'll see more
Who's the most ignored user on the forums?

Offline HudZ

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Nov 2019
  • Posts: 1889
  • Total likes: 1382
  • DansDeals.com Hat Tips 4
  • Gender: Male
    • View Profile
  • Location: Beis Medrash
  • Programs: Torah
Re: Gmail tips, tricks and questions
« Reply #1109 on: July 23, 2024, 04:03:45 PM »
I'm only doing it within the spam folder, I find Gmail does a good job getting those emails there
Why do you care what's in your spam folder?

Offline Alexsei

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Sep 2011
  • Posts: 6322
  • Total likes: 2044
  • DansDeals.com Hat Tips 5
    • View Profile
    • Travel & Kivrei Zadikim
  • Location: Truckistan
  • Programs: COVID-24
Re: Gmail tips, tricks and questions
« Reply #1110 on: July 23, 2024, 04:41:50 PM »
Why do you care what's in your spam folder?

The point is to clear the spam of definite junk so false positives can be noticed...
Who's the most ignored user on the forums?

Offline Yo ssi

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Aug 2019
  • Posts: 7331
  • Total likes: 2994
  • DansDeals.com Hat Tips 66
  • Gender: Male
    • View Profile
Re: Gmail tips, tricks and questions
« Reply #1111 on: July 23, 2024, 09:43:50 PM »
While your at it, I had a plan to make a way to automatically archive emails I've read but do it smartly.

I still haven't gotten around to making it and running through the logic of it.

I could perhaps have a label called "keep in inbox" and everything else gets archived. Perhaps add a check to only archive if it also has a different label on it.

Any thoughts or ideas?
_    ,
' )  /
 /  / __   _   _   o
(__/_(_)  /_)_/_)_<_
 //
(/

Offline Alexsei

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Sep 2011
  • Posts: 6322
  • Total likes: 2044
  • DansDeals.com Hat Tips 5
    • View Profile
    • Travel & Kivrei Zadikim
  • Location: Truckistan
  • Programs: COVID-24
Re: Gmail tips, tricks and questions
« Reply #1112 on: July 23, 2024, 09:59:10 PM »
While your at it, I had a plan to make a way to automatically archive emails I've read but do it smartly.

I still haven't gotten around to making it and running through the logic of it.

I could perhaps have a label called "keep in inbox" and everything else gets archived. Perhaps add a check to only archive if it also has a different label on it.

Any thoughts or ideas?
As long as you can write the logic down in plain text..
Who's the most ignored user on the forums?

Offline WayBackMachine

  • Dansdeals Platinum Elite + Lifetime Silver Elite
  • *****
  • Join Date: Sep 2022
  • Posts: 659
  • Total likes: 482
  • DansDeals.com Hat Tips 0
    • View Profile
Re: Gmail tips, tricks and questions
« Reply #1113 on: July 23, 2024, 11:07:45 PM »
Might be useful to someone

https://github.com/minchaminder/gmail-spam-emoji-filter
I took a peek at your Minchaminder code. I like it; it works, and that's the highest priority.

Here are some comments you're more than welcome to ignore:

It's prone to SQL injection since the queries aren't sanitized and are directly injected. Consider binding the parameters.
You're using MD5; consider upgrading to bcrypt for better security.
The functions file is a cute one, I was wondering how you get the total count.

Offline Yo ssi

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Aug 2019
  • Posts: 7331
  • Total likes: 2994
  • DansDeals.com Hat Tips 66
  • Gender: Male
    • View Profile
Re: Gmail tips, tricks and questions
« Reply #1114 on: July 23, 2024, 11:11:51 PM »
As long as you can write the logic down in plain text..
How do you organize your inbox?
_    ,
' )  /
 /  / __   _   _   o
(__/_(_)  /_)_/_)_<_
 //
(/

Offline Alexsei

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Sep 2011
  • Posts: 6322
  • Total likes: 2044
  • DansDeals.com Hat Tips 5
    • View Profile
    • Travel & Kivrei Zadikim
  • Location: Truckistan
  • Programs: COVID-24
Re: Gmail tips, tricks and questions
« Reply #1115 on: July 24, 2024, 12:12:44 AM »
I took a peek at your Minchaminder code. I like it; it works, and that's the highest priority.

Here are some comments you're more than welcome to ignore:

It's prone to SQL injection since the queries aren't sanitized and are directly injected. Consider binding the parameters.
You're using MD5; consider upgrading to bcrypt for better security.
The functions file is a cute one, I was wondering how you get the total count.
Thank you for the feedback, unfortunately we moved and no longer have a minyan...
I'll look into it, you're also welcome to submit a PR...
Who's the most ignored user on the forums?

Offline Alexsei

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Sep 2011
  • Posts: 6322
  • Total likes: 2044
  • DansDeals.com Hat Tips 5
    • View Profile
    • Travel & Kivrei Zadikim
  • Location: Truckistan
  • Programs: COVID-24
Re: Gmail tips, tricks and questions
« Reply #1116 on: July 24, 2024, 12:14:50 AM »
How do you organize your inbox?
Read vs unread. I don't use archive.
Downside? An email can easily be marked as read by accident and slip.
My dream always was to set up osticket and use that as my email client.
Who's the most ignored user on the forums?

Offline mevinyavin

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Sep 2022
  • Posts: 2657
  • Total likes: 3115
  • DansDeals.com Hat Tips 5
  • Gender: Male
    • View Profile
    • Laptop help/deal request template
  • Location: Yerushalayim
  • Programs: Windows 10 and 11 Home, Word/Excel/Publisher 2021, Wordweb, McGill English Dictionary of Rhyme, VLC, Torat Emet, 7-Zip, Lightshot, Calibre, FDM, FreeFileSync, Teracopy, Handbrake, Lightshot
Re: Gmail tips, tricks and questions
« Reply #1117 on: July 24, 2024, 03:16:58 AM »
And of course it happened.... and it was @Alexsei ... Ironic
I obviously knew that, which is why I had to mention @mevinyavin;)
And now that you are begging for it, what do you use instead of gmail?
If you respond, you'll probably tag me again, right?
Long story. When Google added Google+, K9 couldn't block it without blocking everything Google (search, translate, Youtube, the works). I decided on the nuclear approach and switched to Outlook. Switched off of Outlook because of their tendency to swallow emails without a trace, not even in spam. Did research on the most efficient, no-frills email service (runs well on a slow connection, easy auto-controls) and settled on zohomail. Never regretted it. (Note that you may have to twist Netfree's arm before they let you use it; zoho is a comprehensive business service and one of the things they offer is remote computer access, a no-no for filters.)
Quote from: ExGingi
Echo chambers are boring and don't contribute much to deeper thinking and understanding!

Offline Yo ssi

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Aug 2019
  • Posts: 7331
  • Total likes: 2994
  • DansDeals.com Hat Tips 66
  • Gender: Male
    • View Profile
Re: Gmail tips, tricks and questions
« Reply #1118 on: July 24, 2024, 08:25:06 AM »
Read vs unread. I don't use archive.
Downside? An email can easily be marked as read by accident and slip.
My dream always was to set up osticket and use that as my email client.
That's what I've been doing in the past as well. I'm looking to move away from that and keep my inbox clean, while still using Gmail.
_    ,
' )  /
 /  / __   _   _   o
(__/_(_)  /_)_/_)_<_
 //
(/

Offline Definitions2

  • Dansdeals Platinum Elite
  • ****
  • Join Date: Aug 2023
  • Posts: 370
  • Total likes: 270
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: Lakewood
Re: Gmail tips, tricks and questions
« Reply #1119 on: July 24, 2024, 09:47:30 AM »
I use unread vs read.
You can set up on mobile that a right or left swipe on the inbox will be a move to shortcut. On desktop it's easier just drag to a label.