# resend
[![Package Version](https://img.shields.io/hexpm/v/resend)](https://hex.pm/packages/resend)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/resend/)
```sh
gleam add resend@1
```
```gleam
import resend
import resend/emails.{create_email, send_email, with_html}
pub fn main() {
let client =
resend.Resend(api_key: "// Replace this with your resend api key")
create_email(
client:,
from: "from@example.com",
to: ["to@example.com"],
subject: ":)",
)
|> with_html("<p>Email sent</p>")
|> send_email()
}
```
Further documentation can be found at <https://hexdocs.pm/resend>.
## Development
```sh
gleam run # Run the project
gleam test # Run the tests
```