imnyang/newsletter
Watch
1
0
Fork
You've already forked newsletter
0

fix: update .gitignore and remove sensitive config.toml, add config.example.toml

This commit is contained in:
암냥 2026-01-20 19:16:06 +09:00
commit ac9510d615
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
/target /target
.env .env
config.toml

16
config.example.toml Normal file
View file

@ -0,0 +1,16 @@
imap_server = "imap.gmail.com"
imap_port = 993
imap_username = "@gmail.com"
imap_password = ""
discord_webhook_url = ""
# Ignore emails from these senders (exact match or partial match)
ignored_senders = [
"no-reply@accounts.google.com"
]
# Ignore emails with these subjects (partial match)
ignored_subjects = [
"Security Alert",
"보안"
]