You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-01-29] [$250] Update "What's your work email?" modal to accept public emails #79406
Problem: When users sign up with a public email or SMS, if they then try to input a legit public email as their secondary login, then we block it and don't allow them to add real secondary work email address which makes us less likely to make them an ongoing user.
I don't think we need to update much else. Yes, we'll get more public emails as a secondary login, but a lot of companies have public emails still so it feels like a win for users.
Fyi, I believe this is where we restrict them adding the public email.
Please re-state the problem that we are trying to solve in this issue.
Update "What's your work email?" modal to accept public emails
What is the root cause of that problem?
the validate function checks if the entered email domain is in the PUBLIC_DOMAINS_SET and blocks submission with the error message "Please enter a valid work email from a private domain e.g. mitch@company.com". This validation is too restrictive since many companies still use public email domains.
What changes do you think we should make in order to solve the problem?
Remove the PUBLIC_DOMAINS_SET check from the validation logic in BaseOnboardingWorkEmail.tsx. The validation should only verify that the input is a valid email format using Str.isValidEmail(), not block public domains. This allows users to add any valid email address as their secondary login.
if (!Str.isValidEmail(userEmail) && !isOffline) {
Log.hmmm('User is trying to add an invalid work email', {userEmail});
addErrorMessage(errors, INPUT_IDS.ONBOARDING_WORK_EMAIL, translate('messages.errorMessageInvalidEmail'));
}
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Update "What's your work email?" modal to accept public emails[/-][+][$250] Update "What's your work email?" modal to accept public emails[/+]on Jan 13, 2026
Restate the problem this issue is trying to solve.
Users cannot add a public email as a secondary login during onboarding. The system blocks the email even when it is valid.
What is the root cause of that problem?
The work email validation always blocks public domains. It does not check if the user is adding a secondary login.
What changes do you think we should make in order to solve the problem?
Use the existing secondary-login flag to allow public domains only for secondary login. Keep the email format check the same.
Do not change shared utilities or server code.
⚠️@abbasifaizan70 Your proposal is a duplicate of an already existing proposal and has been automatically withdrawn to prevent spam. Please review the existing proposals before submitting a new one.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.6-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Issue is ready for payment but no BZ is assigned. @joekaufmanexpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!
Activity
daledah commentedon Jan 13, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
Update "What's your work email?" modal to accept public emails
What is the root cause of that problem?
the validate function checks if the entered email domain is in the PUBLIC_DOMAINS_SET and blocks submission with the error message "Please enter a valid work email from a private domain e.g. mitch@company.com". This validation is too restrictive since many companies still use public email domains.
App/src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx
Lines 111 to 114 in ace6b0d
What changes do you think we should make in order to solve the problem?
Remove the PUBLIC_DOMAINS_SET check from the validation logic in BaseOnboardingWorkEmail.tsx. The validation should only verify that the input is a valid email format using Str.isValidEmail(), not block public domains. This allows users to add any valid email address as their secondary login.
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
[-]Update "What's your work email?" modal to accept public emails[/-][+][$250] Update "What's your work email?" modal to accept public emails[/+]melvin-bot commentedon Jan 13, 2026
Job added to Upwork: https://www.upwork.com/jobs/~022011188325785595834
melvin-bot commentedon Jan 13, 2026
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (
External)yatin-italy commentedon Jan 14, 2026
Proposal
Restate the problem this issue is trying to solve.
Users cannot add a public email as a secondary login during onboarding. The system blocks the email even when it is valid.
What is the root cause of that problem?
The work email validation always blocks public domains. It does not check if the user is adding a secondary login.
What changes do you think we should make in order to solve the problem?
Use the existing secondary-login flag to allow public domains only for secondary login. Keep the email format check the same.
Do not change shared utilities or server code.
What alternative solutions did you explore? (Optional)
abbasifaizan70 commentedon Jan 15, 2026
🚫 Duplicated proposal withdrawn by 🤖 ProposalPolice.
github-actions commentedon Jan 15, 2026
thesahindia commentedon Jan 16, 2026
@daledah's proposal looks good to me!
🎀 👀 🎀 C+ reviewed
20 remaining items
melvin-bot commentedon Jan 22, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.6-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-01-29. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jan 29, 2026
Issue is ready for payment but no BZ is assigned. @joekaufmanexpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!
joekaufmanexpensify commentedon Jan 30, 2026
@thesahindia could you handle checklist here so i can pay?
thesahindia commentedon Jan 30, 2026
We only need test steps.
joekaufmanexpensify commentedon Jan 30, 2026
Test issue: https://github.com/Expensify/Expensify/issues/594956
joekaufmanexpensify commentedon Jan 30, 2026
All set to pay!
joekaufmanexpensify commentedon Jan 30, 2026
Payment Summary
joekaufmanexpensify commentedon Jan 30, 2026
@daledah $250 sent and contract ended
joekaufmanexpensify commentedon Jan 30, 2026
Upwork job closed
joekaufmanexpensify commentedon Jan 30, 2026
@thesahindia please request payment at your earliest convenience. Closing as this is otherwise all set 👍
garrettmknight commentedon May 26, 2026
$250 approved for @thesahindia