Update Email

🎯 Purpose

Allows users to change the email address used for receiving authentication codes during the login process. This ensures users can maintain access to email-based authentication even when their email address changes.


📍 Access Requirements

  • Edit Mode Active: Re-authentication must be completed
  • Email Factor Present: User must have email OTP authentication configured
  • Update Button Available: Email factor must show update capability in "Others" section

🔄 Email Update Process

🎯 Initiation

  • Location: Email authenticator in "Others" section with Auth Type: E-Mail
  • Action Button: Click update/edit button (📝) for Email authentication
  • Availability: Button only functional after re-authentication
  • User Context: Clear indication this affects email OTP delivery

🖥️ Update Email Screen

  • Screen Title: "Update Email" prominently displayed
  • Current Email: May show masked current email address
  • New Email Field: Input field for new email address
  • Validation: Email format validation and domain checking
  • Generate OTP Button: Trigger for sending verification code

📊 Email Update Interface Elements

ElementPurposeUser Experience
Current Email DisplayContextShows masked current email (user***@example.com)
New Email InputPrimary fieldEmail address format validation
Generate OTP ButtonVerification triggerSends code to new email
OTP Input FieldVerificationEnter code received via email
Update ButtonAction triggerProcesses email change

🔐 Email Verification Process

📬 OTP Generation and Delivery

  1. Email Entry: User enters new email address
  2. Format Validation: System validates email format and domain
  3. Generate OTP: User clicks "Generate OTP" button
  4. Code Creation: System generates 6-digit verification code
  5. Email Dispatch: Authentication code sent to new email address
  6. User Notification: Confirmation that email has been sent

✉️ Verification Email Characteristics

  • Sender: REL-ID system email address
  • Subject: Clear subject line indicating authentication code
  • Content: 6-digit verification code prominently displayed
  • Expiration: Code valid for limited time (typically 5-10 minutes)
  • Security: Single-use code that expires after successful use

🔄 Email Validation Flow

📝 Code Entry and Validation

  1. Email Delivery: User receives email with 6-digit code
  2. Code Retrieval: User opens email and locates authentication code
  3. Code Entry: User enters code in "Validate Email Authentication Code" screen
  4. System Validation: Code verified against generated value
  5. Time Check: Validation ensures code used within expiration window
  6. Success Processing: Valid code triggers email address update

🎯 Validation Screen Elements

  • Screen Title: "Validate Email Authentication Code"
  • Instruction Text: Clear guidance on where to find the code
  • Code Input Field: 6-digit numeric input
  • Resend Option: Link to request new code if needed
  • Validate Button: Processes the entered code

Success Flow

🎉 Successful Email Update

  1. Code Validation: Entered code matches and is within time limit
  2. Email Update: New email address replaces old address in system
  3. Success Screen: "Update Email - success screen" displayed
  4. Confirmation: Clear message that email has been changed
  5. Immediate Effect: New email address active for future OTP delivery

📱 Success Screen Features

  • Success Icon: Visual confirmation of successful change
  • Success Message: "Your email address has been successfully updated"
  • New Email Display: Confirmation of updated email address
  • Return Option: Link back to Sign In Options screen

🔄 Email Update Flow Diagram



🚨 Error Handling and Recovery

❌ Common Error Scenarios

Error TypeCauseUser ExperienceResolution
Invalid Email FormatMalformed email addressFormat error messageCorrect email format
Code Not ReceivedEmail delivery issuesNo code receivedUse resend functionality
Invalid CodeWrong digits entered"Invalid code" errorRe-enter correct code
Expired CodeCode used too late"Code expired" errorGenerate new code
Email Service IssuesSMTP problemsDelivery failureTry again or contact support

🔄 Recovery Options

  • Resend Code: New verification code sent to same email
  • Email Correction: User can modify email address and retry
  • Alternative Methods: Suggest other authentication factors if available
  • Support Contact: Help desk information for persistent issues

🎯 User Experience Considerations

📬 Email Delivery Guidance

  • Check Spam: Instructions to check spam/junk folders
  • Delivery Time: Expected delivery timeframe (usually 1-2 minutes)
  • Email Provider: Works with all major email providers
  • Multiple Attempts: Support for resending if initial email not received

🔒 Security Features

  • Email Verification: Ensures user controls the new email address
  • Time-Limited Codes: Prevents code reuse and reduces security risk
  • Single-Use Codes: Each code can only be used once successfully
  • Secure Delivery: Codes sent via encrypted email transmission

⚠️ Important Considerations

🔄 Immediate Effect

  • Instant Activation: New email address immediately active
  • OTP Delivery: Future authentication codes sent to new email
  • Old Email: Previous email address no longer receives codes
  • No Delay: Change takes effect immediately upon validation

🛡️ Security Implications

  • Access Control: User must control both old session and new email
  • Verification Required: Prevents unauthorized email changes
  • Audit Trail: Email changes logged for security monitoring
  • Recovery Impact: May affect account recovery processes