Skip to content

Package email responds to CloudEvents to send emails over HTTP by implementing the CloudEvents HTTP specification.

License

Notifications You must be signed in to change notification settings

itmayziii/email

Repository files navigation

email Package

email package responds to CloudEvents to send emails.

Check out the official documentation for end user documentation. This README is dedicated to information about package development.

Static Badge Commitizen friendly Go Reference

Roadmap

  • Add support for some sort of database to keep track of emails already sent to ensure exactly once delivery.
  • Provide ready to go adapters for other SaaS providers besides Mailgun.
    • Sendgrid
    • Mandrill

Contributing

Local Setup

  1. Setup environment variables by copying .env.example -> .env and filling out the missing environment variables.

    cp .env.example .env
  2. There is a standalone HTTP server you can run with:

    go run cmd/standalone/standalone.go

    This standalone server uses the NoopSender so it does not actually send emails which is nice for testing. You can send CloudEvents via HTTP by using the public postman collection.

Run in Postman

Releasing

This package uses release-please which will open a "release" pull request anytime something releasable is merged into the main branch. Once the release pull request is merged there is a manual CI step the package author will need to kick off to create a GitHub release.

About

Package email responds to CloudEvents to send emails over HTTP by implementing the CloudEvents HTTP specification.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages