A bot that connects Telegram with Gmail
Project description
Python Gmail Summary Bot
[!WARNING] I recommend forking the repo and using it as a GitHub Action
Creating credentials for accessing Google APIs.
Step 1: Create a Service Account
- Go to the Google Cloud Console: Google Cloud Console.
- Select your project or create a new one.
- Search for APIs & Services in the search bar.
- Click on Credentials in the left sidebar.
- Click on Create Credentials and select OAuth client ID.
- Select Desktop app as the application type.
- Add the generated credentials as environment variables in your project.
Step 2: Enable the Gmail API
- Go to the API & Services page: API & Services.
- Enable the Gmail API:
- Click on "Enable APIs and Services".
- Search for "Gmail API" and enable it for your project.
Local usage
cp .env.example .env
python3 -m venv .
python3 -m pip install -r requirements.txt
python3 main.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for telegram_gmail_bot-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 086caac464dadb4f15c59d824a107af98a7a346055c29fa9abf4ccb5ee3d6f67 |
|
MD5 | f3efd63c40d21f782c67c8caf613eff2 |
|
BLAKE2b-256 | ccdbfd60c54ad25c17b251ef621fffea900b840a2591959c2b51f5477d35ea04 |