Skip to content

[MKT-1014]fix/fix temporary email LP - #2117

Open
internxt-yu wants to merge 2 commits into
mainfrom
fix/temp-mail-issues
Open

internxt-yu wants to merge 2 commits into
mainfrom
fix/temp-mail-issues

Conversation

@internxt-yu

Copy link
Copy Markdown
Contributor

The requests of creation of temp mail accounts are done from the server side, and these request are send from the same IP, the IP of server.
Mail.gw has established a rate limit of requests by requester IP, that means all users are sharing same per-IP budget, and when the limit have been reached, mail.gw respond with 429 too many requests and the route returns a generic 500 Internal Server Error.

Changes:

  1. The requests returns to be sent by browser side, so visitors are sending the request with their own IP, with fallback in server when mail.gw returns error of creation of account (caused by AdBlockers, timeout, etc.).
  2. Changed use of node:crypto to web crypto in randomHash, it's native in the browser and Node 19+, and it lets the module run unchanged in server and in browser.

@internxt-yu internxt-yu self-assigned this Sep 4, 2026
@internxt-yu internxt-yu added the bug Something isn't working label Sep 4, 2026
@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Sep 4, 2026 2:23pm UTC

@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant