# `email.template_missing`

Email has no template, or a template no email.

Area 16, [Built-in services](../topics/built-in-services.md); not declinable; the next step is usually the agent's.

An email's words live beside its type, in an `.html` template, a `.txt`
one or both, named after it; an email with neither has nothing to send,
and a template no email is named after is sent by nothing:



```jadpo
/// Sent once someone signs up.
type WelcomeEmail = EmailMessage {
    name: Text
}
```

```text
error: `WelcomeEmail` has no template
 --> domains/accounts/emails/welcome_email.jadpo:2:6
  |
2 | type WelcomeEmail = EmailMessage {
  |      ^^^^^^^^^^^^ nothing to send
  reason: An email's words live beside its type: `welcome_email.html`, its HTML, and `welcome_email.txt`, its plain text, each reading its fields inside `{{ }}`. It needs at least one.
  next: Create `domains/accounts/emails/welcome_email.html` and `domains/accounts/emails/welcome_email.txt` beside `welcome_email.jadpo` (agent)
  rule: email.template_missing
  help: https://jadpo.dev/docs/errors/email.template_missing

check failed: 1 error, 3 files
```
