← Blog

How to Automatically Email New Files in a Folder (OneDrive, SharePoint and Outlook)

Scans land in a folder and should go to accounts. Reports are saved every morning and a client expects them by email. You want each new file in a folder sent on without anyone attaching it by hand. Outlook can’t do this by itself, but a short Power Automate flow can, as long as the folder is in OneDrive or SharePoint.


In short: Outlook rules act on messages, not files, so use a Power Automate cloud flow. Create an Automated cloud flow with the OneDrive for Business trigger When a file is created, pick the folder and set Include subfolders if you want them. Add the Office 365 Outlook action Send an email (V2), and give it an attachment whose name is the file’s File name and whose content is the trigger’s File content. For a SharePoint library, use When a file is created (properties only) followed by Get file content. You need a work or school account: Power Automate stopped accepting personal Microsoft accounts after July 27, 2025. The trigger skips files over 50 MB and Outlook’s default sending limit is 35 MB, so for large files send a share link instead.

What You Need

Step by Step: Email Each New OneDrive File as an Attachment

  1. Go to make.powerautomate.com and sign in with your work account.
  2. Select Create, then Automated cloud flow. Give the flow a name.
  3. Search for the trigger When a file is created from OneDrive for Business and select Create.
  4. In the trigger, choose the Folder. Set Include subfolders to Yes if files will land in folders inside it.
  5. Add an action and search for Send an email (V2) from Office 365 Outlook.
  6. Fill in To, a Subject (insert File name from the dynamic content so each email says which file it is) and a Body.
  7. Open the action’s advanced parameters and add an attachment. Set its name to File name and its content to File content, both from the trigger.
  8. Save the flow, then drop a test file into the folder. The flow checks the folder periodically, so the email can take a few minutes to arrive.

Microsoft’s OneDrive for Business connector reference and Office 365 Outlook connector reference list every field. The email goes from your mailbox and lands in your Sent Items like any other.

For a SharePoint Library

For a team folder in SharePoint (or a Teams channel’s Files tab, which is a SharePoint library):

  1. Use the SharePoint trigger When a file is created (properties only). Pick the Site Address and Library Name, and a Folder, or leave it blank for the whole library.
  2. Add the SharePoint action Get file content and pass it the file’s Identifier from the trigger.
  3. Add Send an email (V2) as above, with the attachment content from Get file content.

Avoid the older trigger When a file is created in a folder: Microsoft marks it deprecated and says it doesn’t fire for files added to a subfolder. Microsoft also offers a ready-made template, Send an email when a new SharePoint file is created, which you can adapt.

Send a Link Instead of the File

Attachments hit size limits, and a link always points to the current version. Use the trigger When a file is created (properties only), then the OneDrive for Business action Create share link, and put its Web URL in the email body. Choose the link scope carefully: a link that works for anyone can be forwarded outside the company, while an organization-only link can’t be opened by outside recipients.

Limits and When the Flow Doesn’t Fire

What About SharePoint Alerts or a Script?

On the Receiving End

If the flow sends the files to your own mailbox, a rule can move those emails straight into a folder: they all come from you with the same subject pattern, which is the kind of mail rules handle well. See how to automatically file emails in Outlook, and how to auto-forward emails in Outlook if the files arrive by email and need passing on.


Frequently Asked Questions

Can Outlook automatically email files added to a folder?
Not by itself. Outlook rules act on emails you send and receive, not on files. Use a Power Automate flow with a OneDrive or SharePoint trigger and Outlook’s Send an email (V2) action.

How do I email a file automatically when it is added to OneDrive?
Create an automated cloud flow with the OneDrive for Business trigger When a file is created, choose the folder, then add Send an email (V2) with an attachment named File name and containing File content.

Can I do this with a personal Microsoft account?
No. Power Automate requires a work or school account since July 27, 2025, and no longer supports personal accounts such as outlook.com.

What is the maximum file size?
The OneDrive trigger skips files over 50 MB, and Microsoft 365 mailboxes send messages up to 35 MB by default, with encoding adding about a third. For large files, send a share link instead of the attachment.

Does it work for files in subfolders?
Yes with the OneDrive triggers, if you set Include subfolders to Yes. The deprecated SharePoint trigger When a file is created in a folder doesn’t fire for subfolders; use When a file is created (properties only) instead.

Can I watch a folder on my PC?
Not directly with a cloud flow. Put the folder inside your synced OneDrive folder so new files upload, and point the flow at it, then test that it fires for the way your files arrive.