Skip to content
/ MailBot Public

discord bot to forward your emails to a server of your choice.

License

Notifications You must be signed in to change notification settings

0xCN/MailBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mailbot

python aioimaplib aiosmtplib licence

MailBot

/attachments/help.png

MailBot is a discord bot which forwards new emails to your discord server, you can also reply to them or send new emails.

Installation

Requirements:

  1. discord.py
  2. aioimaplib
  3. aiosmtplib
  4. selectolax

Installation:

$ pip install -r requirements.txt

Config:

In your config.py:

# Bot Command Prefix
pre = 'm!'
# Discord Channel IDs
mail_channel_id = 739137691681030197
send_channel_id = 740050224139206769
# host:port
imap_host = 'imap.gmail.com:993'
smtp_host = 'smtp.gmail.com:465'
# AUTH for both imap & smtp
user = '[email protected]'
passwd = 'password123@'
#
from_mail = '[email protected]'
# Discord Bot Token
token = 'NzM3NzU5NjI1NTE2MTU1MDEw............'

This bot assumes that your smtp and imap credentials are the same.

About

discord bot to forward your emails to a server of your choice.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages