# EMAIL_DRIVER_MODULE_NOT_FOUND

<!-- Generated by docs/modules/diagnostics from the package catalogs. Write a guide in docs/diagnostics/<CODE>.md instead of editing this file. -->

`email.driver` is the path of a driver module, but no file is at that path. The path is relative to the project root, not to the config file. A path without an extension also finds a `.ts`, `.mts`, `.js`, or `.mjs` file.

Create the module, or fix the path. The module default-exports a function that gets `email.options` and returns an `EmailDriver`. See [Configure another provider](https://vitehub.dev/docs/email/configure#configure-another-provider).

## Source

`EMAIL_DRIVER_MODULE_NOT_FOUND` belongs to the `email` package. Its catalog entry is in [`src/error-diagnostics.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/email/src/error-diagnostics.ts#L89). It is raised in [`src/vite.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/email/src/vite.ts#L193).

See [all Email diagnostics](https://vitehub.dev/docs/email/diagnostics).

<!-- vitehub-docs:section-links -->
## In this section

- [Overview](https://vitehub.dev/raw/docs/email.md)
- [Get started](https://vitehub.dev/raw/docs/email/get-started.md)
- [Configure](https://vitehub.dev/raw/docs/email/configure.md)
- [Server API](https://vitehub.dev/raw/docs/email/server-api.md)
- [Agent capability](https://vitehub.dev/raw/docs/email/agent-capability.md)
- [Hosts](https://vitehub.dev/raw/docs/email/hosts.md)
- [Limits and errors](https://vitehub.dev/raw/docs/email/limits-and-errors.md)

Next: [EMAIL_DUPLICATE_TEMPLATE](https://vitehub.dev/raw/docs/email/diagnostics/email_duplicate_template.md)

All pages: [llms.txt](https://vitehub.dev/llms.txt)
