> For the complete documentation index, see [llms.txt](https://docs.tailent.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tailent.com/use-cases/use-cases/tap-studio-download-invoices-from-email-and-move-emails.md).

# TAP Studio - Download Invoices from Email and Move Emails

This use case presents how to use our IMAP activities to retrieve info about emails, to save their attachments, and move email messages from one email folder to another.

In this example, the robot will access the email folder "Invoices Unprocessed" in order to retrieve information about them, and then will save the attached invoices locally. Once an invoice is saved, the email is moved from the folder "Invoices Unprocessed" to "Invoices Processed".

Watch the robot in action:

{% embed url="<https://www.youtube.com/watch?v=dtnLJ6I47I0&feature=emb_title>" %}
