Fix CloudMail registration flow - #293
Closed
deguse wants to merge 3 commits into
Closed
Conversation
yunhugy
added a commit
to yunhugy/chatgpt2api
that referenced
this pull request
Jun 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cloudmail_genby creating/registering generated CloudMail addresses before OpenAI sends OTPs.docs/cloudmail-registration-status.md.Validation
uv run python -m unittest test.test_register_proxy_runtimeuv run python -m py_compile api/register.py services/register_service.py services/register/mail_provider.py services/register/openai_register.py scripts/test_cloudmail.py scripts/test_openai_delivery.pynpm run buildin Node 22 container for static web export./api/registerstats verified includesavg_stage_ms,last_errors_by_stage,mailbox_provider_success,otp_wait_avg_seconds.total=5,threads=1: success5, fail0, average about10.0s/account.total=10,threads=1: success9, fail1, failure stageopenai_register.total=10,threads=2: success10, fail0, average about5.0s/account; one backgroundaccount_refreshwarning did not block registration.total=20,threads=2: success20, fail0, average about5.0s/account.Operational Notes
data/paths and are not included in this PR.mail.proxyor provider-levelproxyonly when the mailbox provider itself needs a proxy.