Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
docs: added how to setup a email service (#737)
Marco Berettafb99e5a7daea
diff --git a/docs/install/user_auth_system.md b/docs/install/user_auth_system.mdindex 77ce0b0dc1..d46f4d8ab5 100644--- a/docs/install/user_auth_system.md+++ b/docs/install/user_auth_system.md@@ -135,7 +135,39 @@ DISCORD_CALLBACK_URL=/oauth/discord/callback # this should be the same for every---## **Email and Password Reset**-Most of the code is in place for sending password reset emails, but is not yet feature-complete as I have not setup an email server to test it. Currently, submitting a password reset request will then display a link with the one-time reset token that can then be used to reset the password. Understanding that this is a considerable security hazard, email integration will be included in the next release.+### General setup++in the .env file modify this 4 variables:++```+EMAIL_SERVICE= # eg. gmail+EMAIL_USERNAME= # eg. your email address if using gmail+EMAIL_PASSWORD= # eg. this is the "app password" if using gmail+EMAIL_FROM= # eg. email address for from field like [email protected]+```++EMAIL_SERVICE is the name of the email service you are using (Gmail, Outlook, Yahoo Mail, ProtonMail, iCloud Mail, etc.).+EMAIL_USERNAME is the username of the email service (usually, it will be the email address, but in some cases, it can be an actual username used to access the account).+EMAIL_PASSWORD is the password used to access the email service. This is not the password to access the email account directly, but a password specifically generated for this service.+EMAIL_FROM is the email address that will appear in the "from" field when a user receives an email.++### Setup with Gmail++1. Create a Google Account and enable 2-step verification.+2. In the [Google Account settings](https://myaccount.google.com/), click on the "Security" tab and open "2-step verification."+3. Scroll down and open "App passwords." Choose "Mail" for the app and select "Other" for the device, then give it a random name.+4. Click on "Generate" to create a password, and copy the generated password.+5. In the .env file, modify the variables as follows:++```+EMAIL_SERVICE=gmail+EMAIL_USERNAME=your-email+EMAIL_PASSWORD=your-app-password+EMAIL_FROM=email address for the from field, e.g., [email protected]+```++NOTE: The variable EMAIL_FROM currently does not work. To stay updated, check the bug fixes [here](https://github.com/danny-avila/LibreChat/tags).+## **Disable User Registration**