Gmail Query Builder
Thai Pro Edition · v3.1
Single‑file • Presets • Single‑Day • Lint • URL/JSON • Embedded Fonts
วันที่ / อายุเมล
ก่อนวันที่ (before)
หลังวันที่ (after)
เก่ากว่า (older_than)
วัน (d)
เดือน (m)
ปี (y)
ใหม่กว่า (newer_than)
วัน (d)
เดือน (m)
ปี (y)
ค้นวันเดียวนี้เท่านั้น
ระบบจะสร้าง
after:<วันก่อนหน้า>
+
before:<วันถัดไป>
ให้อัตโนมัติ
กล่องจดหมาย (Boxes)
รวมเฉพาะกล่อง (OR)
Inbox
Sent
Drafts
Starred
Important
Promotions
Social
Updates
Forums
Chats
All Mail
Anywhere (รวม Spam/Trash)
เลือกหลายรายการได้ (Ctrl/⌘ + Click)
ตัดกล่องออก (exclude)
Spam
Trash
Promotions
Social
Updates
Forums
Chats
ตัวเลือกเร็ว
in:anywhere
-in:spam
-in:trash
เปิด “in:anywhere” เพื่อค้นรวม Spam/Trash ได้
Label (รวม/ตัด)
รวม label (OR) – กด Enter เพื่อเพิ่ม
จะสร้างเป็น
label:(a OR b)
ตัด label (OR) – กด Enter เพื่อเพิ่ม
จะสร้างเป็น
-label:(x OR y)
อีเมล/โดเมน (บุคคล/องค์กร)
รวม (เข้า/ออก) – ใส่อีเมลหรือ @โดเมน แล้วกด Enter
เช่น
alice@example.com
หรือ
@partner.com
(จะแปลงเป็น
*@partner.com
)
ตัด (เข้า/ออก) – ใส่อีเมลหรือ @โดเมน แล้วกด Enter
จะสร้างเป็น
-from:(…)
และ
-to:(…)
อัตโนมัติ
คำค้น & หัวเรื่อง
Exact phrase
OR words (คั่นด้วย ,)
Exclude words (คั่นด้วย ,)
เฉพาะหัวเรื่อง
AND words (คั่นด้วย ,)
ไฟล์แนบ & ขนาด
has:attachment
filename:
larger:
K
M
smaller:
K
M
หมวดหมู่ & สถานะ
รวมหมวด (OR)
Primary
Social
Promotions
Updates
Forums
ตัดหมวด (exclude)
Social
Promotions
Updates
Forums
Primary
is:unread
is:starred
has:userlabels
has:nouserlabels
ปุ่มลัด (Presets / Shortcuts)
วันเดียว = วันนี้
หลังวันนี้ทั้งหมด
เฉพาะ Inbox + Sent
รวมทุกที่ (in:anywhere)
ล้างฟิลเตอร์คำ/บุคคล/เลเบล
ปุ่มลัดจะปรับทุกช่องด้านบนให้อัตโนมัติ แล้วสร้าง query ใหม่ทันที
ผลลัพธ์ Query
คัดลอก
เปิดใน Gmail
รีเซ็ต
คัดลอกเป็น URL
คัดลอกเป็น JSON
เคล็ดลับ Gmail Search
AND คือค่าเริ่มต้น (เว้นวรรค = AND), OR ต้องครอบวงเล็บ:
(in:inbox OR in:sent)
วันเดียวแม่นยำ: เปิด “ค้นวันเดียวนี้เท่านั้น” แล้วเลือกวัน → สร้าง
after:<วันก่อนหน้า> before:<วันถัดไป>
ค้นทุกที่จริง ๆ:
in:anywhere
(รวม Spam/Trash)
Label รวม/ตัด:
label:(a OR b)
,
-label:(x OR y)
คน/โดเมนทั้งเข้า/ออก:
((from:(a OR *@x.com) OR to:(a OR *@x.com)))
ขนาดไฟล์:
larger:5M
·
smaller:500K
· ชื่อไฟล์:
filename:pdf