How to automate OTP for online transaction

I want to automate OTP for an online transaction. After enter all credit card details an OTP page will come at this URL ( https://acs.southeastbank.com.bd/acsprod/MCACSOtpTacPAVerify ). That ask the OTP sent to my Gmail. Here’s a video of my task. Loom | Free Screen & Video Recording Software

The OTP page maybe has some tricky frames and Gmail is a big fat Javascript mess. Classic Dom automation with XPAth is tricky. => I would use visual automation with XClick and XType.

How to copy this OTP from here without OCR command?