Company changed otp from sms to email
I have been using a profile i found here with some modifications for otp and it has been super helpful. However my company decided that email otp is safer.
How do I convert this profile to work the same for email otp? Using notification event for outlook app? Then %SMSRB won't work since it's for text messages received. How do I go about doing it?
Below is the profile I've been using
Profile: 2FA Settings: Restore: yes Event: Received Text [ Type:SMS Sender:* Content:*OTP*/*code*/*One Time Password*/*One time password*/*one time password*/*One Time PIN* SIM Card:* MMS Body:* ]
Enter Task: Anon
A1: Simple Match/Regex [ Type: Regex Text: %SMSRB Regex: [0-9]{6,8} ]
A2: If [ %mt_match_found ~ true ]
A3: Set Clipboard [ Text: %mt_match ]
A4: AutoInput Action [ Configuration: Type: Focus Action : Paste Manage Accessibility Service: Unchanged Timeout (Seconds): 15 Structure Output (JSON, etc): On ] If [ %SCREEN ~ on ]
A5: Join Send Push [ Configuration: Device: Chrome Clipboard: %mt_match Timeout (Seconds): 10 Structure Output (JSON, etc): On ]
A6: End If