Memory usage on email attachements


We built a process that extracts information from PDF files that are read from an email box. So far we’ve tested the solution with up to 100-200 emails and works pretty well, but I was wondering what would happen if we test the process with, say, 1,000 emails (and their attachements).

So the following question came to my mind: How does UiPath download email attachements ?
The process reads the email list on a nice List of Office365Message objects. Does this object hold the email attachements as well or just a pointer to some type of storage object where documents are actually stored ?