Creation of a bot to notify managers about new emails in Gmail
Task: Creation of a bot to notify managers about new emails in Gmail related to their work area.
Tools: Django framework.
Solution:
To implement the task, an admin panel was developed on Django, allowing management of the bot. The functionality includes:
- Connecting the email account in the admin panel with permissions granted for access to Gmail through the Google application.
- Notification of the need to re-grant permissions upon expiration.
- Integration with Telegram: adding the Telegram bot token and specifying the groups to which notifications will be sent.
- Setting up filters for emails corresponding to various work directions and linking them to Telegram groups.
After the setup is complete, the bot automatically sends notifications about new emails to the corresponding Telegram groups. This solution significantly simplifies the work of employees, freeing them from the need to manually check all emails and track the necessary ones.
Tools: Django framework.
Solution:
To implement the task, an admin panel was developed on Django, allowing management of the bot. The functionality includes:
- Connecting the email account in the admin panel with permissions granted for access to Gmail through the Google application.
- Notification of the need to re-grant permissions upon expiration.
- Integration with Telegram: adding the Telegram bot token and specifying the groups to which notifications will be sent.
- Setting up filters for emails corresponding to various work directions and linking them to Telegram groups.
After the setup is complete, the bot automatically sends notifications about new emails to the corresponding Telegram groups. This solution significantly simplifies the work of employees, freeing them from the need to manually check all emails and track the necessary ones.