Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Archive Gmail Inbox

封存 Gmail 收件匣裡的全部郵件 (三天前)

🚀 使用步驟

  1. 開啟 Google Apps Script
  • 前往 script.google.com
  • 點擊「新專案」
  1. 貼上程式碼
  • 刪除預設的 myFunction()
  • 貼上 archive-all-inbox.js 裡的完整程式碼
  • 💡 程式會自動封存「三天前」之前的所有收件匣郵件 例如今天是 12/5,就會封存 12/2 之前的郵件 📌 如需自訂天數,修改程式裡的 DAYS_TO_KEEP 常數
  1. 授權權限
  • 點擊「執行」按鈕
  • 授權腳本存取你的 Gmail
  1. 執行函數
  • 大量郵件:執行 archiveAllInboxWithTrigger
  • 少量郵件:執行 archiveAllInboxSimple

About

Archive Gmail inbox

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages