How to write retry logic for email already in use message using katalon

I need to write retry logic when email already in use message displayed at katalon like shown below,basically whenever email already in use message displayed then want to auto increment number in email like from raymantest885@test.com to raymantest886@test.com to make it unique and then apply retry logic so that this new email id is inserted at text box of application using katalon

Capture.PNG