https://github.com/guerrerocarlos/serverless-email-telegram-bot
Multiple-domain Email Client Telegram Bot, (uses AWS SES and AWS Lambda), similar to http://t.me/gmailbot
https://github.com/guerrerocarlos/serverless-email-telegram-bot
Last synced: 4 months ago
JSON representation
Multiple-domain Email Client Telegram Bot, (uses AWS SES and AWS Lambda), similar to http://t.me/gmailbot
- Host: GitHub
- URL: https://github.com/guerrerocarlos/serverless-email-telegram-bot
- Owner: guerrerocarlos
- Created: 2018-06-10T23:33:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-13T17:28:57.000Z (almost 7 years ago)
- Last Synced: 2025-01-07T18:32:43.705Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# serverless-email-telegram-bot
> Telegram Email Client for multiple domains, using AWS SES (Simple Email Service) and AWS LambdaSelf-hosted email service and (Telegram) client similar to [@GmailBot](http://t.me/gmailbot)
## Installation
### 1. Install Serverless
```
npm install -g serverless
```### 2. Install Dependencies and Deploy to AWS Lambda
```
yarn install
sls deploy
```- Check the URL automatically generated for the API Gateway and add it as `telegramHook` in config.json
- Check the public URL of the bucket and add it as `publicS3URL` in config.json, this url is used to see emails in html format and for downloading attachments bigger than 50Mb directly from s3.### 3. Make AWS SES receive the emails and call the lambda function
- Add your domain to [AWS verified-senders-domain](https://console.aws.amazon.com/ses/home?#verified-senders-domain:)
- Create a new *rule* in [receipt-rules](https://console.aws.amazon.com/ses/home?region=us-east-1#receipt-rules:) and in Actions, select `Lambda` and point to this function.### Ready :)