Deploy Gmail AI Daily Organizer
Multi-account Gmail rules, optional GLM AI triage and LINE summaries.
gmail-railway-cron
Just deployed
Deploy and Host Gmail AI Daily Organizer on Railway
Gmail AI Daily Organizer is an open-source scheduled inbox organizer for one or more Gmail accounts. It applies explicit Gmail search rules, safely archives selected categories, sends per-account summaries, and can optionally use GLM for conservative classification and LINE Messaging API for daily notifications.
About Hosting Gmail AI Daily Organizer
Railway builds the included Dockerfile and runs the service once per cron invocation. The included railway.json schedules execution at 13:30 UTC, which is 21:30 in Taiwan, and disables automatic restarts after a successful run. Start with DRY_RUN=true, inspect the logs, and only enable Gmail writes after confirming the rules.
Common Use Cases
- Label security, billing, job alert, reading, and promotional email
- Archive only explicit rule matches while leaving uncertain mail in Inbox
- Receive a daily Gmail or optional LINE summary
- Add optional GLM classification for unmatched message previews
Dependencies for Gmail AI Daily Organizer Hosting
- Google Cloud project with Gmail API enabled
- OAuth client credentials and one refresh token per Gmail account
- GMAIL_ACCOUNTS_JSON entered during deployment
Deployment Dependencies
Optional GLM and LINE credentials are added later as Railway Variables. Never commit secrets to GitHub. When AI is enabled, only sender, subject, and up to 500 characters of the Gmail snippet are sent to the configured GLM endpoint; full email bodies are not sent. AI does not archive messages.
Configuration, OAuth instructions, privacy behavior, and deletion guidance are documented at https://github.com/zoetw88/gmail-railway-cron.
Why Deploy Gmail AI Daily Organizer on Railway?
Railway provides container builds, encrypted environment variables, logs, and cron execution in one place, so this organizer does not need a computer or server running all day.
Template Content
gmail-railway-cron
zoetw88/gmail-railway-cronGMAIL_ACCOUNTS_JSON