valmhorOriginal post
Web Developer
It seems like I'm having trouble with receiving the email with the otp from appwrite services.
This is the general headers request:
Request URL
https://fra.cloud.appwrite.io/v1/account/tokens/email
Request Method
POST
Status Code
201 Created
This is the body request:
JSON
{ "userId": "my user id", // replaced "email": "my personal email @gmail.com" // replaced}This is the response body:
JSON
{ "$id": "68a86b4736bf11211d96", "$createdAt": "2025-08-22T13:06:15.224+00:00", "userId": "my user id", // replaced "secret": "", "expire": "2025-08-22T13:21:15.224+00:00", "phrase": ""}In fact yesterday it worked well and also the days before.
Unfortunately today I'm not receiving the otp mail from appwrite as usual.
The implementation is js:
JavaScript
public readonly createEmailToken = async ( userId: string, email: string, ): Promise<Models.Token> => { try { return await this._account.createEmailToken(userId, email); } catch (error) { this._logger.error('Failed to create email token:', error); throw error; } };dependency: "appwrite": "^18.2.0".
Is there something I can check to have an idea of the issue?
Summary
Developers having issue receiving email OTP from Appwrite services. Email OTP not coming through as usual despite successful requests. Authentication process handled through JS with Appwrite dependency version 18.2.0. Check SMTP settings, spam folder, and email server logs for clues about the issue.