> 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.MarkEmailAsRead

- Component: `appmixer.microsoft.mail.MarkEmailAsRead`
- Kind: Action
- Version: 1.0.1
- 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.MarkEmailAsRead>

Marks an email or draft as read.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Message ID (`emailId`) | text | Message ID for the message to be marked as read. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| `result` | object | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.microsoft.mail.MarkEmailAsRead",
  "author": "Harsha Surisetty <harsha@client.io>",
  "description": "Marks an email or draft as read.",
  "version": "1.0.1",
  "auth": {
    "service": "appmixer:microsoft",
    "scope": [
      "Mail.ReadWrite"
    ]
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "emailId": {
            "type": "string"
          }
        },
        "required": [
          "emailId"
        ]
      },
      "inspector": {
        "inputs": {
          "emailId": {
            "type": "text",
            "index": 1,
            "label": "Message ID",
            "tooltip": "Message ID for the message to be marked as read."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "result",
          "value": "result",
          "schema": {
            "type": "object",
            "example": {
              "id": "AAMkAGI1AAAoZCfHAAA=",
              "subject": "Q1 Planning Meeting Notes",
              "isRead": true,
              "parentFolderId": "AQMkADAwATM0MDAAMS1iNTcwLWI2NTEtMDACLTAwCgAuAAAD",
              "lastModifiedDateTime": "2026-01-15T11:02:00Z"
            }
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
