Skip to content

Documentation for marking e-mails as Spam using Microsoft Flow.

Notifications You must be signed in to change notification settings

pidziubinski/Marked-as-Spam-Outlook-Flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Marked as Spam Outlook flow

Documentation for marking e-mails as Spam using Microsoft Flow.

Intro

Problem description

Legitimate e-mails are very often moved to Spam (junk) folder and deleted after short period of time (e.g. after two weeks).

Short solution description

If you don't want to loose important e-mail, it's better to keep e-mails marked as Spam in different folder. It's possible to do that automatically using Microsoft Flow.

Important: Workaround based on filters (e.g. when new e-mail arrives and "from" contains "@" move e-mail to "Inbox") doesn't work anymore.

Solution description

New e-mails in "Junk Mail" folder will be automatically moved to separate folder (e.g. "Marked as Spam"). Microsoft Flow will be used to achieve that.

Note: Please consider this method as marking e-mails as Spam (junk). You will be able to delete those e-mails manually.

Requirements

Outlook.com or Office 365 Outlook account.

Limitations

Free Microsoft Flow accounts have 750 runs per month. If you need to handle more e-mails marked as Spam, please consider Microsoft Flow paid plan.

Configuration

Important: If you want to configure "Office 365 Outlook", please chose "Office 365 Outlook" instead of "Outlook.com" in all steps.

  1. Login to outlook.com

  2. Create new "Marked as Spam" subfolder (e.g. Inbox -> Marked as Spam). To do that click right button on "Inbox". You can chose other folder name.

  3. Login to Microsoft Flow.

  4. Click on "My flows".

    Step 4 and 5

  5. Click on "Create from blank".

  6. Click on "Search hundreds of connectors and triggers".

    Step 6

  7. Click on "Outlook.com" trigger.

    Step 7

  8. Click on "Outlook.com - When a new email arrives".

    Step 8

  9. Click on "Sign in". This step is optional if you already have outlook.com connected.

    Step 9

  10. Click on "Yes" to give permission. This step is optional if you already have outlook.com connected.

Step 10

  1. Click on folder picker.

    Step 11

  2. Click on "Junk Email" folder.

    Step 12

  3. Click on "Has Attachment", choose "Custom" and leave blank.

    Step 13-14

  4. Click on "Include Attachments", choose "Custom" and leave blank.

  5. Click on "New step"

    Step 15-16

  6. Click on "Add an action"

  7. Search for "outlook.com"

    Step 17

  8. Click on "Outlook.com - Move mail"

    Step 18

  9. Click on "Message id" field.

    Step 19-20

  10. Click on "See more"

  11. Chose "Message Id"

    Step 21

  12. Click on folder picker.

    Step 22

  13. Chose subfolder you created in step 2 (e.g. Inbox -> Marked as Spam).

    Step 23aStep 23b

  14. Click on "Flow name" field and name flow (e.g. "Marked as Spam").

    Step 24

  15. Click on "Save flow".

    Step 25

  16. Click on "Done".

    Step 26

  17. Check if flow is on.

    Step 27

  18. You can create other flows or logout.

Final result

Final Flow

Documentation

Microsoft Flow documentation

Current document

Marked as Spam Outlook Flow

Author

Piotr Dziubinski (twitter, github)

About

Documentation for marking e-mails as Spam using Microsoft Flow.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published