1up
A custom Gmail spam filter bot.
Install / Use
/learn @genuinetools/1upREADME
1up
A custom Gmail spam filter bot.
<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->Table of Contents
<!-- END doctoc generated TOC please keep comment here to allow auto update -->How it works
The bot will create 3 labels in your Gmail:
1up/good: where you label emails that are "good"1up/bad: where you label emails that are "bad"1up/quarantine: where the bot will place emails that it thinks are "bad" based off the results of the Bayes classifier
Thanks to @brendandburns for pointing me at Bayes classifiers.
Installation
Binaries
For installation instructions from binaries please visit the Releases Page.
You will want to follow the steps here to turn on the Gmail API and get a credentials file.
Via Go
$ go get github.com/genuinetools/1up
Via Docker
$ docker run --rm -it -v ~/configs/1up:/1up:ro \
--tmpfs /tmp \
r.j3ss.co/1up -f /1up/credentials.json
Usage
$ 1up -h
1up - A custom Gmail spam filter bot.
Usage: 1up <command>
Flags:
-d, --debug enable debug logging (default: false)
-f, --creds-file Gmail credential file (or env var GMAIL_CREDENTIAL_FILE) (default: <none>)
-i, --interval update interval (ex. 5ms, 10s, 1m, 3h) (default: 5m0s)
--once run once and exit, do not run as a daemon (default: false)
Commands:
version Show the version information.
Related Skills
node-connect
347.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
