Forget Passowrd Email not sending - 504 Gateway Time-out

yes i tried this with wrong email address. it responds this exactly as it did for you via postman.
i also tried using postman.

try with saadmujeeb123@hotmail.com

you will get that gateway error…

PORT 25 is enabled in the GCP firewall and UFW firewall as well