how do I download all emails from office365 correctly? If I call GetMails, I only get mails up to APageSize. 1. How do I download other emails that did not fit?
2. How do I download only those emails that I have not downloaded before?
it does not specify how to continue downloading next mail.
In Microsoft's description, it is not recommended to use the $skip parameter, but to use the URL returned in @odata.nextLink for other mails
Please give me a small example of how to download only emails that I haven't downloaded yet.