# Convert Email to PDF (preview)

> Convert Email to PDF activity parameters, including paper size options, margin, header and footer templates, scale, and output file configuration.

`UiPath.PDF.Activities.PDF.NetCore.ConvertEmailToPDF`

## Description

Converts an email into a PDF file.

## Project compatibility

**Windows | Cross-platform**

## Configuration

### Properties
* **Email** - The email to convert to PDF.

### Advanced options
* **Html Header Content** - An HTML document to use as a header template.
* **Html Footer Content** - An HTML document to use as a footer template.
* **Paper Size** - The size of the paper used for conversion. Select one of the following options:
  * **A4**
  * **A3**
  * **A5**
  * **A2**
  * **A6**
  * **Letter**
  * **Legal**
  * **Tabloid**
  * **Ledger**
  * **Executive**
  * **Statement**
  * **B4**
  * **B5**
  * **Number10Envelope**
  * **DLEnvelope**
  * **C5Envelope**
  * **C4Envelope**
* **Margin** - The margin of the page in points.
* **Scale** - The scale of the page rendering. The scale must be greater than or equal to `0.1` and not greater than `2`.
* **Keep Background** - Enable this option to preserve the background color, graphics, or both during conversion. This option is enabled by default.
* **Output File Path** - The file to write to.

### Output
* **Output File** - The resulting output file as a resource.
