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
- A work or school Microsoft 365 account. Microsoft’s Power Automate FAQ says personal accounts such as outlook.com are no longer supported. OneDrive for Business, SharePoint and Office 365 Outlook are standard connectors, which Microsoft 365 business and enterprise plans include.
- The folder in OneDrive or SharePoint. A folder that exists only on your PC can’t trigger a cloud flow. If it is inside your synced OneDrive folder, files saved there upload to OneDrive, where the flow can see them; test that it fires for your files.
Step by Step: Email Each New OneDrive File as an Attachment
- Go to make.powerautomate.com and sign in with your work account.
- Select Create, then Automated cloud flow. Give the flow a name.
- Search for the trigger When a file is created from OneDrive for Business and select Create.
- In the trigger, choose the Folder. Set Include subfolders to Yes if files will land in folders inside it.
- Add an action and search for Send an email (V2) from Office 365 Outlook.
- Fill in To, a Subject (insert File name from the dynamic content so each email says which file it is) and a Body.
- 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.
- 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):
- 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.
- Add the SharePoint action Get file content and pass it the file’s Identifier from the trigger.
- 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
- Files over 50 MB are skipped. Microsoft says the OneDrive trigger When a file is created doesn’t return them.
- Outlook’s sending limit is lower. Microsoft 365 mailboxes send messages up to 35 MB by default, and encoding adds about a third to an attachment’s size, so a 30 MB file can already fail. Your admin can raise the limit up to 150 MB, per the Exchange Online limits. Send a link for anything large; see Outlook’s attachment size limit for the rest.
- Moved files don’t count. A file moved into the folder from elsewhere in OneDrive isn’t a new file to the trigger. Copy it, or save it there in the first place.
- Bursts can be missed. Microsoft notes the trigger can have problems with more than about 30 changes between two checks. If hundreds of files land at once, check that each was sent.
- Only your own files. The OneDrive trigger sees folders your account owns, not shortcuts to someone else’s shared folder. Use the SharePoint trigger on the library instead.
- Sending limits. The Outlook connector allows 300 calls per connection per 60 seconds. One email to several recipients counts as one call.
What About SharePoint Alerts or a Script?
- SharePoint alerts are gone. Microsoft retired them in 2026 and points people to Power Automate or SharePoint rules.
- SharePoint rules (in the library, Integrate > Rules) can email someone when a new file is created. The message comes from a no-reply address, to a person or a column, not a group address, and it tells people about the file rather than replacing the flow above for sending it on.
- A PowerShell script watching a local folder is possible but harder to keep running, and Microsoft marks
Send-MailMessageobsolete. It points to Microsoft Graph’sSend-MgUserMailfor Exchange Online.
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.