<commit_before># SendGrid

A wrapper for SendGrid's API to create composable emails.

## Installation

Add the following code to your dependencies in your **`mix.exs`** file:

```elixir
{:sendgrid, "~> 0.1.0"}
```

## Configuration

In one of your configuration files, include your SendGrid API key like this:

```elixir
    config :sendgrid,
      api_key: "SENDGRID_API_KEY"
```

## Usage

Check the [docs](https://hexdocs.pm/sendgrid/) for complete usage.

### Simple Text Email
<commit_msg>Add missing detail to readme<commit_after># SendGrid

A wrapper for SendGrid's API to create composable emails.

## Installation

Add the following code to your dependencies in your **`mix.exs`** file:

```elixir
{:sendgrid, "~> 0.1.0"}
```

## Configuration

In one of your configuration files, include your SendGrid API key like this:

```elixir
    config :sendgrid,
      api_key: "SENDGRID_API_KEY"
```

Add `:sendgrid` to your list of applications
```elixir
    defp application do
      [applications: [:sendgrid]]
    end
```

## Usage

Check the [docs](https://hexdocs.pm/sendgrid/) for complete usage.

### Simple Text Email

{'fraction_non_alphanumeric': 0.12488928255093003, 'fraction_numerical': 0.005314437555358724, 'mean_word_length': 4.159817351598173, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '157413', 'n_tokens_mistral': 382, 'n_tokens_neox': 363, 'n_words': 128}