Search Gmail

From LemonWiki共筆
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Ψ 個人知識管理的搜尋任務類型: 電腦檔案或內文搜尋 | 多個PDF檔案的內文搜尋 | 自訂搜尋服務(網頁歸檔) | Gmail搜尋 Ψ


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 的效果一樣),
  • is:important Gmail建議的重要信件 (優先收件匣簡介 - Gmail說明, How importance ranking works - Gmail Help[Last visited: 2012-02-07])
  • label:chat 交談記錄 (搜尋時 lable:chat 與 in:chat 、 is:chat 的效果一樣),
  • label:sent 寄件備份,
  • label:draft 或 label:drafts 草稿 (搜尋時 label:draft 與 is:drafts 的效果一樣),
  • label:anywhere 所有郵件(含垃圾信件/廣告信件 與 垃圾桶的信件),
  • label:spam 垃圾信件/廣告信件,
  • label:trash 垃圾桶
  • file size of attachment:
    • input larger:20m or size:20m to search the attachment larger than 20 MB or
    • input size:500k to search the attachment larger than 500 KB [1][2]

experimental function:

  • label:muted 標示為Muted的信件對話,如果有新信件,將不會顯示在收信匣 (需要至lab啟用Smart mute) (搜尋時 label:muted 與 is:muted 的效果一樣)

category

分類說明[3]

英文分類 中文分類 分類描述
Primary 主要 由你認識的對象傳送的電子郵件,以及未出現在其他分頁中的郵件。
Social 社交網路 來自社交網路和媒體分享網站的郵件。
Promotions 促銷內容 特惠活動、優惠和其他促銷內容電子郵件。
Updates 最新快訊 通知、確認訊息、收據、帳單及對帳單。
Forums 論壇 來自線上群組、討論區和郵寄清單的郵件。
Reservations 預訂 航班確認、飯店訂房和餐廳訂位等相關電子郵件。
Purchases 購物交易 訂單、運送和出貨等相關電子郵件。


應用:刪除超過一年沒有讀的廣告信 (出處:Kazuho Oku)

is:unread category:promotions older_than:1y

在你寄信之前

  • 如果不使用標籤組織信件。可以在信件標題,加上 [專案簡稱] 或信件內容 [自訂標籤] ,方便日後整理信件。

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

filter emails with multiple labels

  • Search label:label_a label:label_b to filter the emails matched multiple labels

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

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

不支援部分字串搜尋 Icon exclaim.gif

  • 「搜尋結果不包括部分字串相符的項目,或與查詢條件「類似」的項目。 ... ... 如果您搜尋 vacation,Gmail 會傳回含有這個字詞的電子郵件,但不會傳回包含 vacations 或 vaccations 的電子郵件。」 資料來源: 內收郵件未送達 - Gmail說明(test day: 2012-08-11)


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 fresh spam :P)
  • inbox spam
    • specified language: using the stop word to filter
  • Tentative --> in:anywhere subject:keywords
It will perform the keywords' search in all email box include the spam and trash

filename search

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

find messages with specific star

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


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


further reading

references