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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41fe02a85e9f9197dfa936aa84c6526c6ce74c8b37fc8f7640cde456c022d441 |
|
MD5 | e0278ff97184496028a6243760ff2559 |
|
BLAKE2b-256 | 1f31fa7f6f3065e266e7bd9961d5435d7fb315f2abdc83886593dd14dffb9467 |