Hi Rubiat,
Did you mean you would like to only let emails which contain this pattern 123456(any 4 digit) to be sent to recipients directly, and the other ones would be quarantined and waiting for review/approval?
If I misunderstood it, please feel free to correct me.
If this is the case, I suppose you may create a mail flow rule and use regular expression to match this pattern.
It would be like:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.