Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashcorr/discord-mail-webhook
https://github.com/ashcorr/discord-mail-webhook
bot discord smtp-client webhook
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ashcorr/discord-mail-webhook
- Owner: AshCorr
- License: mit
- Created: 2021-07-24T11:42:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-23T08:15:07.000Z (over 1 year ago)
- Last Synced: 2023-03-05T20:53:08.583Z (over 1 year ago)
- Topics: bot, discord, smtp-client, webhook
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discord-mail-webhook
Automatically scan SMTP mailboxes and post emails to a Discord webhook
![image](https://user-images.githubusercontent.com/21217225/126869453-95b5ddd1-fc0a-4444-8c64-e11b56f2caac.png)*Mark all emails as Read before using this bot. Currently there is nothing stopping this bot from flying way past the discord rate limit.*
## Usage
### Docker
Use `ghcr.io/ashcorr/discord-mail-webhook:latest`## Config
Config is managed through environment variables.### Required Variables
| Variable Name | Description |
| -------------- | ------------------------------------------------------------------- |
| IMAP_HOST | IMAP hostname for mailbox eg mail.google.com |
| IMAP_USERNAMES | Comma delimited usernames, eg [email protected],[email protected] |
| IMAP_PASSWORDS | Comma delimited usernames, eg password1,password2 |
| DISCORD_WH_URL | Discord webhook url |### Optional Variables
| Name | Description | Default |
| -------------- | -------------------------------------------- | ------- |
| IMAP_PORT | IMAP hostname for mailbox eg mail.google.com | 143 |
| IMAP_TLS | Check for valid TLS | true |
| IMAP_MARK_SEEN | Mark emails as seen | true |
| LOG_LEVEL | Log level | info |