Delete Mail Folder

Delete a specified mail folder and its contents via the Microsoft Outlook API.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/naftiko/microsoft-outlook-sandbox --skill delete-mail-folder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Delete Mail Folder
Source: https://github.com/naftiko/microsoft-outlook-sandbox/tree/main/skills/delete-mail-folder
Command: npx skills add https://github.com/naftiko/microsoft-outlook-sandbox --skill delete-mail-folder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a way to permanently delete mail folders and all their contents, helping to declutter your inbox and manage storage.

Core Features & Use Cases

  • Folder Deletion: Permanently removes a specified mail folder and everything within it.
  • Use Case: If you have a large, outdated project-specific folder that is no longer needed, you can use this Skill to delete it entirely.

Quick Start

Use the delete mail folder skill to delete the folder with id 'AAMkAGI1AAAEJAAA='.

Frequently Asked Questions about Delete Mail Folder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I permanently delete a mail folder in Outlook?

To permanently delete a mail folder in Outlook, you need the specific folder ID and an authorization token with the Mail.ReadWrite scope to call the Microsoft Outlook API for permanent removal of the folder and its contents.

What is needed to remove an Outlook mail folder using an API?

Removing an Outlook mail folder requires a valid mail folder ID and an authorization token with the Mail.ReadWrite scope to authenticate the API request and permanently delete the folder and all its contents.

Can I use this to clean up obsolete project folders in my mailbox?

Yes, you can clean up obsolete project folders in your mailbox by using this function to permanently delete outdated folders and all their contents, which helps declutter your inbox and manage storage.

Does deleting a mail folder remove all the emails inside it?

Yes, deleting a mail folder permanently removes the specified folder and everything within it, ensuring that all contained emails are permanently deleted from the user mailbox via the Microsoft Outlook API.

What happens to a deleted mail folder in Microsoft Outlook?

A deleted mail folder in Microsoft Outlook is permanently removed along with all its contents, meaning the folder and its emails are completely erased from the mailbox and cannot be recovered through standard recovery options.