Skip to content

heaptracetechnology/microservice-gmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gmail as a microservice

An OMG service for Gmail, it allows to send and recive emails.

Open Microservice Guide

OMG CLI

OMG

  • omg validate
omg validate
  • omg build
omg build

Test Service

  • Test the service by following OMG commands

CLI

Send Email
$ omg run send -a from=<SENDER_GMAIL_ADDRESS> -a password=<GMAIL_ACCOUNT_PASSWORD> -a to=<RECIVER_EMAIL_ADDRESS> -a subject=<EMAIL_SUBJECT> -a message=<EMAIL_MESSAGE_BODY> -e SMTP_HOST="smtp.gmail.com" -e SMTP_PORT="587"

License

Docker

Build

docker build -t microservice-gmail .

RUN

docker run -p 3000:3000 microservice-gmail

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published