# Email Verification

In the email verification flow, users with an upfront payment and active subscription are automatically verified for seamless access.&#x20;

For unpaid users, an email with a time-sensitive verification link is sent. Clicking the link confirms their email address, ensuring security and a smooth onboarding process.

## Usage

A link is sent to `/mail/verify?token=[verification token]`.&#x20;

Verification happens when this token matches with a record in the database.

<https://github.com/madewithnovel/novel/blob/main/app/api/internal/v1/auth-verify/index.ts>

<https://github.com/madewithnovel/novel/blob/main/app/features/lifecycle/verify.ts>

## Changelog

* 2024-12-20 - Initial Documentation


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.novel.dev/novel-server/authentication/email-verification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
