This repository has been moved to:
https://gitlab.com/daniel-casanueva/haskell/gmail-simple
A library for Haskell that provides functions to easily interact with the Google Mail API. It doesn't intend to be fully featured, but rather simple.
- OAuth management.
- Mail sending.
- Plain text and HTML supported.
Feel free to open an issue if you are interested in the addition of some specific feature.
In order to use the Google API, you need to enable scopes on your account. Here are the ones you'll need for this library, depending on what you want to do.
- For sending mails:
https://www.googleapis.com/auth/gmail.send
.
Stack is used to check for compatibility against different GHC versions and dependencies. To see the list of supported snapshots, see build-script.sh.