> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.microsoft.mail.DeletedEmail

- Component: `appmixer.microsoft.mail.DeletedEmail`
- Kind: Trigger
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.microsoft.mail 2.3.0](https://connectors.appmixer.com/connector/appmixer.microsoft.mail/2.3.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.microsoft.mail/2.3.0/component/appmixer.microsoft.mail.DeletedEmail>

Watch your Inbox for deleted messages.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Resource (`resource`) | text | The URI of the resource that emitted the change notification relative to https://graph.microsoft.com. See more details in [the Microsoft documentation](https://docs.microsoft.com/en-us/graph/outlook-change-notifications-overview). For example, to watch for new messages in the Drafts folder, use `me/mailfolders('Drafts')/messages`. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Message Id (`id`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.microsoft.mail.DeletedEmail",
  "author": "David Durman <david@client.io>",
  "description": "Watch your Inbox for deleted messages.",
  "webhook": true,
  "auth": {
    "service": "appmixer:microsoft",
    "scope": [
      "Mail.Read"
    ]
  },
  "properties": {
    "schema": {
      "properties": {
        "resource": {
          "type": "string"
        }
      }
    },
    "inspector": {
      "inputs": {
        "resource": {
          "type": "text",
          "defaultValue": "/me/mailfolders('inbox')/messages",
          "index": 1,
          "label": "Resource",
          "tooltip": "The URI of the resource that emitted the change notification relative to https://graph.microsoft.com. See more details in <a target=\"_blank\" href=\"https://docs.microsoft.com/en-us/graph/outlook-change-notifications-overview\">the Microsoft documentation</a>. For example, to watch for new messages in the Drafts folder, use <code>me/mailfolders('Drafts')/messages</code>."
        }
      }
    }
  },
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Message Id",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAAAYbvZDAAA="
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
