Schedule the bot to run every 10 minutes
and then use get emails to get the emails and get the time at which the emails are received if the time difference between the initial sent email (which you can get by get emails with subject on sent emails) is greater than 10 20 and 30 do the task else if received before do the other task you need
for calculating the difference use DateDiff(DateInterval.Minutes,Date1,Date2) this will give the difference in minutes for the given dates
cheers