effect-auth

Develop With an Email Inbox

Capture development auth email in an application-owned Drizzle table.

The development inbox is application infrastructure, not an effect-auth production storage feature. Define a development-only Drizzle table and implement DevEmailStore in the application using the same scoped database service as the Worker.

Gate every write and read route on an explicit development environment check. Never enable the inbox in production, and never replace a required production mail or durable auth store with memory storage.

The auth schema generator intentionally does not emit this table. Keep its migration in the application and apply it only to development environments.