# (email: …)

Creates an email address link

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/tags.php#L35>

****

## Attributes

In addition to the main `email` option, the tag supports the following attributes: `class`, `rel`, `target`, `text`, `title`

| Attribute | Description | Default |
|---- | ---- | ---- |
| class | The class which is added to email link | `null` |
| rel | The rel attribute that is added to email link | `null` |
| target | The target attribute that is added to email link | `null` |
| text | The text that is added to email link | `null` |
| title | The title attribute that is added to email link | `null` |

<success>Kirby will automatically encode your email addresses, so they won't be that easily parsed and misused by spam bots.</success>

### Attribute defaults from config

You can customize the defaults of this tag's attributes via the <a href="https://getkirby.com/docs/reference/system/options/kirbytext#email">`kirbytext.email` config option</a>.

## Examples

### Email without link text

```kirbytext
(email: bastian@getkirby.com)
```

### Email with link text

```kirbytext
(email: bastian@getkirby.com text: Send me an email)
```

### Email with a `title` attribute

```kirbytext
(email: bastian@getkirby.com text: Send me an email title: Contact me)
```

### Email with a `rel` attribute

```kirbytext
(email: bastian@getkirby.com text: Send me an email rel: me)
```

### Email with a custom CSS class

```kirbytext
(email: bastian@getkirby.com text: Send me an email class: email)
```