https://github.com/bernabe9/lambda-gmail-sender
Lambda function that sends Gmail emails
https://github.com/bernabe9/lambda-gmail-sender
email email-sender lambda serverless
Last synced: 6 months ago
JSON representation
Lambda function that sends Gmail emails
- Host: GitHub
- URL: https://github.com/bernabe9/lambda-gmail-sender
- Owner: bernabe9
- Created: 2020-01-14T00:27:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-12T01:13:42.000Z (almost 5 years ago)
- Last Synced: 2025-07-27T20:59:48.956Z (9 months ago)
- Topics: email, email-sender, lambda, serverless
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lambda Gmail Sender
Lambda function that sends Gmail emails
## Setup
1. Create a `config.yml` file in the root folder
2. Copy & paste the content from `config.example.yml` to `config.yml`
3. Replace the values with your data
## Deploy
1. Setup credentials for AWS lambda: https://serverless.com/framework/docs/providers/aws/guide/credentials/
2. Run `serverless deploy`
## Usage
Request a POST method to the lambda's endpoint with the following JSON format:
```
{
"subject": "My email",
"text": "email content"
}
```