Archiving email attachments to your storage

Every hour the scenario saves attachments from new emails into storage by folder and keeps an upload log, marking the emails as read.

  • Checks the inbox every hour
  • Attachments sorted into folders
  • An upload log kept automatically
  • Emails marked as read
Microsoft OutlookMicrosoft OneDrive

How it works

To connect Azure Cosmos DB and Microsoft Outlook, you don't need a developer: a ready-made scenario links them in minutes.

  1. Starts when: Every Hour
  2. Then: Get Unread Emails with Attachments
  3. Check: Has Emails?
  4. If yes: Process One Email at a Time
  5. Then: Get Email Attachments
  6. Then: Build Folder Path + Decode Attachment
  7. Check: Has File Attachments?
  8. If yes: Upload to OneDrive
  9. Then: Aggregate Attachment Uploads
  10. Then: Log to SharePoint Audit List
  11. Then: Mark Email as Read
  12. Starts when: Workflow Error Trigger
  13. Then: Send Error Email
  14. Check: Is Upload Error?
  15. If yes: Log Failed Upload to SharePoint

You can launch this Azure Cosmos DB + Microsoft Outlook integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.