---
title: "getIncomingRawEmail"
canonical: "https://support.appfire.com/space/PSJ/514949151/getIncomingRawEmail"
format: markdown
---
> Macro (aura-html)

> Macro (button-handy)



> 📝 The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | getIncomingRawEmail() | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Retrieves a structure containing information about the incoming email such as sender, recipients, subject, or body. Similar to getIncomingEmail() but the body of the message is not processed in any way.

Retrieves a structure containing information about the incoming email such as sender, recipients, subject, or body. Similar to getIncomingEmail() but the body of the message is not processed in any way.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |

## Return Type

**[IncomingEmail](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487117)**

## Example

```
IncomingEmail email = getIncomingRawEmail();
if(email.from != "jira-support@kepler-rominfo.com") {
	// create issue
}
```

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)