Search Gmail: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
(→‎Query operators: highlight the query operators)
Line 18: Line 18:


New letters in inbox
New letters in inbox
* in:inbox is:unread
* {{kbd | key = in:inbox is:unread}}


Time related
Time related
* Today --> after:yesterday (Due to the search "after:today" was not completed to cover all emails today, I suggest you use after:yesterday)
* Today --> {{kbd | key = after:yesterday }} (Due to the search "after:today" was not completed to cover all emails today, I suggest you use after:yesterday)
* Last Week --> after:oneweekago
* Last Week --> {{kbd | key = after:oneweekago }}




Focus some labels / Cluster with some labels
Focus some labels / Cluster with some labels
* My Focus --> (label:label_a OR label:label_b)
* My Focus --> {{kbd | key = (label:label_a OR label:label_b) }}
: focus on the letters with the labels: label_a or label_b
: focus on the letters with the labels: label_a or label_b
* My Focus (new) --> (label:label_a OR label:label_b) is:unread
* My Focus (new) --> {{kbd | key = (label:label_a OR label:label_b) is:unread }}
: focus on the '''new''' letters with the labels: label_a or label_b
: focus on the '''new''' letters with the labels: label_a or label_b




* Tentative --> in:anywhere subject:keywords  
* Tentative --> {{kbd | key = in:anywhere subject:keywords }}
: It will perform the keywords' search in all email box include the spam and trash
: It will perform the keywords' search in all email box include the spam and trash




search for all emails with no label 只看沒編過標籤的信
search for all emails with no label 只看沒編過標籤的信
* 列出所有標籤,然後再排除它們([http://groups.google.com/group/Gmail-Help-Organizing-Messages-en/browse_thread/thread/51312c132c3f8e83/8c903082b9ccbbd6?lnk=gst&q=search+for+no+label#8c903082b9ccbbd6 參考資料]):搜尋語法是 -label:標籤名稱1 -label:標籤名稱2  -label:標籤名稱3
* 列出所有標籤,然後再排除它們([http://groups.google.com/group/Gmail-Help-Organizing-Messages-en/browse_thread/thread/51312c132c3f8e83/8c903082b9ccbbd6?lnk=gst&q=search+for+no+label#8c903082b9ccbbd6 參考資料]):搜尋語法是 {{kbd | key = -label:標籤名稱1 -label:標籤名稱2  -label:標籤名稱3 }}
* 如果標籤已經很多,就顯得很麻煩
* 如果標籤已經很多,就顯得很麻煩


Line 43: Line 43:
Spam
Spam
* Spam unread -->  
* Spam unread -->  
** in:spam before:2007/5/1 (means the spam older than 2007/5/1)
** {{kbd | key = in:spam before:2007/5/1 }} (means the spam older than 2007/5/1)
** in:spam is:unread
** {{kbd | key = in:spam is:unread }}
** in:spam is:unread after:yesterday  (means latest spam :P)
** {{kbd | key = in:spam is:unread after:yesterday }} (means latest spam :P)
* inbox spam
* inbox spam
** specified language: using the [[Stop Word|stop word]] to filter
** specified language: using the [[Stop Word|stop word]] to filter


=== filename search ===
=== filename search ===
* Attachments --> has:attachment
* Attachments --> {{kbd | key = has:attachment }}
** without attachment: -has:attachment
** without attachment: {{kbd | key = -has:attachment }}


* filename search: support partial filename (test day: 2008-08-14)
* filename search: support partial filename (test day: 2008-08-14)
* [http://gmailblog.blogspot.com/2010/06/tip-5-things-you-may-not-know-you-can.html Tip: 5 things you may not know you can do with attachments in Gmail ]
* [http://gmailblog.blogspot.com/2010/06/tip-5-things-you-may-not-know-you-can.html Tip: 5 things you may not know you can do with attachments in Gmail ]
** has:attachment pdf
** {{kbd | key = has:attachment pdf }}
** filename:pdf
** {{kbd | key = filename:pdf }}


=== further reading ===
=== further reading ===

Revision as of 13:55, 27 March 2011

Search letters in Gmail with specified Label as Search keywords(Query operators).

預設標籤(default labels)

  • label:inbox 收信匣,
    • label:read 已讀信件 (搜尋時lable:read與is:read的效果一樣),,
    • label:unread 新信件/未讀信件 (搜尋時lable:unread與is:unread的效果一樣),,
  • label:starred 星號標記 (搜尋時lable:starred與is:starred的效果一樣),
  • label:chat 交談記錄 (搜尋時lable:chat與in:chat、is:chat的效果一樣),
  • label:sent 寄件備份,
  • label:draft 或 label:drafts 草稿 (搜尋時label:draft 與 is:drafts 的效果一樣),
  • label:anywhere 所有郵件(含垃圾信件/廣告信件 與 垃圾桶的信件),
  • label:spam 垃圾信件/廣告信件,
  • label:trash 垃圾桶
  • label:muted 標示為Muted的信件對話,如果有新信件,將不會顯示在收信匣 (需要至lab啟用Smart mute) (搜尋時label:muted 與 is:muted 的效果一樣)

Query operators

New letters in inbox

  • in:inbox is:unread

Time related

  • Today --> after:yesterday (Due to the search "after:today" was not completed to cover all emails today, I suggest you use after:yesterday)
  • Last Week --> after:oneweekago


Focus some labels / Cluster with some labels

  • My Focus --> (label:label_a OR label:label_b)
focus on the letters with the labels: label_a or label_b
  • My Focus (new) --> (label:label_a OR label:label_b) is:unread
focus on the new letters with the labels: label_a or label_b


  • Tentative --> in:anywhere subject:keywords
It will perform the keywords' search in all email box include the spam and trash


search for all emails with no label 只看沒編過標籤的信

  • 列出所有標籤,然後再排除它們(參考資料):搜尋語法是 -label:標籤名稱1 -label:標籤名稱2 -label:標籤名稱3
  • 如果標籤已經很多,就顯得很麻煩


Spam

  • Spam unread -->
    • in:spam before:2007/5/1 (means the spam older than 2007/5/1)
    • in:spam is:unread
    • in:spam is:unread after:yesterday (means latest spam :P)
  • inbox spam
    • specified language: using the stop word to filter

filename search

  • Attachments --> has:attachment
    • without attachment: -has:attachment

further reading

label with the slash mark(/)

The label with the slash mark(/) will rename to Hyphen mark (-).

  • Ex: The label share/meeting will rename to share-meeting (not forcibly) but the search label:share/meeting will found no result until you search label:share-meeting.


specify the language

  • 'lang:en' will search only English letters
  • 'lang:zh' or 'language:chinese' will search only Chinese letters (include Simplified and Traditional Chinese)
    • 'lang:zh-cn' will search only Simplified Chinese letters
    • 'lang:zh-tw' will search only Traditional Chinese letters

reference: Search For a Specific Language in Gmail[1]

Goodies

easter egg



other notes