Get Mail Activity of MS365: want to filter the mails with To criteria

We can’t use these activities. We are using Microsoft Classic 365 activities - Get Mail.
As Get Email list requires connections to be established.