# Send a notification email

> Formspree Docs · Using the CLI · Updated July 14, 2023

## Formspree.json configuration

Email a simple plain-text notification to somebody when the form is submitted.

| Key | Type | Description |
| --- | --- | --- |
| `type` |  String |  Must be `email` |
| `to` |  String |  The email address of the recipient (required) |

**Example**

```javascript
{
  "forms": {
    "contact": {
      "name": "Contact Form",
      "actions": [
        {
          "type": "email",
          "to": "john@example.com"
        }
      ]
    }
  }
}
```

## Validation

When the email action is added, the following validation rules are implicitly added.

| Field | Validation Rule |
| --- | --- |
| `email` | Required |
| `email` | Type is `email` |
