--- title: "Get Headers in Folder Step" slug: "get-headers-in-folder-step" tags: ["header", "email", "email server", "Folders"] updated: 2025-07-09T13:17:09Z published: 2025-07-09T13:17:09Z canonical: "documentation.decisions.com/get-headers-in-folder-step" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Headers in Folder Step | ## Step Details | | --- | | **Introduced in Version** | --- | | **Modified in Version** | --- | | **Location** | Communication > Email > IMAP | The Get Headers in Folder step allows users to access a folder on an IMAP server to return header data. --- ## Properties #### Input | Property | Description | Data Type | | --- | --- | --- | | Count | Specifies the number of emails headers to return | Int32 | | Folder Path | Folder to retrieve email header data from | | | Password | The password of the user connecting to the email server | String | | Port | Port number of the email server | Int32 | | Secure Connection | Used if the email server credentials require a secure connection | Boolean | | Server | IMAP or POP email server | String | | Unread Messages Only | Specifies whether only unread messages are returned | Boolean | | Username | Username to connect to the email server | String | #### Output | Property | Description | Data Type | | --- | --- | --- | | Headers | List of the email header data found | EmailHeader list | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1661954514892.png) Related Information Forum Posts: [Using Email Steps with Gmail Issue](https://community.decisions.com/discussion/28107/using-email-steps-with-gmail-issue) [How To Have Get Emails Step Filter Specific Folder](https://community.decisions.com/discussion/14961/how-to-have-get-emails-step-filter-specific-folder) ## Related - [Send Email](/send-email.md) - [Send Email to Contact Steps](/send-email-to-contact-steps.md) - [Get Email](/get-email.md) - [Get Headers Step](/get-headers-step.md)