Automation E-Mail - set alarm for 06.00 am

Hello,
I am a beginner in automation stuff, so please forgive me, if I am in the wrong place here…

I am trying to set an automation in iOS with the following conditions:
If I receive an e-mail to a certain email adress (x@example.com), I want an autmation to set an alarm for 06.00 am. However, I want that alarm only to be set, if it is after 11 pm. I need this for work, as I manage the sick calls and the substitutes … however, I do not wanna get up at 6 am, if there is no sick calls…
Is that understandable? I tried my best with the shortcut app but did not manage to get the combination to work. I would be really grateful for any help!
Johannes

I would suggest having the 6am alarm on by default. And then disable it if the email is received after 11pm with an email automation trigger for that specific address.

The automation itself would be a simple “if current time is between 11pm and 5:59am, disable the 6am alarm”.