(For National Institute of Technology, Rourkela students only!)
- Clone the repository
- Edit the config.py file to add your discord webhook and zauthtoken
- Run the
webmail2discord.pyfile
In long run you might want to use a server to keep the script running 24x7 (Use heroku or AWS instance for free hosting)
- Go to the setting of a room in a discord server
- Go to
webhook - Click on
Add webhook
- Login to your zimbra webmail with your respective credentials
- Press
F12key to open developer console - Click on network tab
- Click on the existing network connection in the list below
- Right click on it and copy it as cURL
- Open an editor and paste
- Look for
zauthtoken=
Never share your webhook or zauthtoken with anyone