Otherwise, you’ll probably never get around to this chore. The good news is that you can quickly delete thousands of unread emails in Gmail. The same trick lets you archive all those emails.
Tap the notification and select “Transfer files” or “File transfer” in the menu that appears. If media files are all you’re planning to move, you could also use the “Transfer photos ...