I would like to generate report of all mailboxes following criteria:

Mailbox type
Mailbox size
Last sent email


Is there any way to automate this process?