How to Convert Outlook Email to PDF using and Make HTML to PDF API is a RESTful API provided by that allows developers to easily convert HTML files or URLs to PDF documents programmatically. With this API, developers can automate the process of converting HTML to PDF and integrate this functionality into their own applications. This API tool supports a wide range of input options, including plain HTML code, HTML code in JavaScript, as well as URLs pointing to HTML pages. The API also supports various customization options, such as specifying the page size and orientation, adding headers and footers, setting margins, and more.

Now, we will show you how to convert Outlook email to PDF using and Make. Check out below the easy step-by-step tutorial to convert Outlook email to PDF.

  1. Log in to Make Account
  2. Microsoft 365 Email Module
  3. Watch Messages Trigger
  4. Microsoft 365 Email Configuration
  5. Choose Where to Start
  6. Add Module
  7. Make an API Call Module
  8. Setup Configuration
  9. Run Scenario Result
  10. Generated PDF Output

Here’s the sample Outlook email and will convert it into a PDF.

Sample Outlook Email
Sample Outlook Email

Step 1: Log in to Make Account

  • First, let’s start by logging into your Make account and clicking on the Create a new scenario button.

Step 2: Microsoft 365 Email Module

  • Next, search and select the Microsoft 365 Email module.

Microsoft 365 Email

Step 3: Watch Messages Trigger

  • Then, choose the Watch Messages module to trigger when a new message is sent or received.

Watch Messages

Step 4: Microsoft 365 Email Configuration

Let’s set up the configuration.

  • First, connect your Microsoft Outlook account to Make.
  • In the Watch Messages field, let’s select the All option so we can see all messages in the Outlook email.
  • For the Mail Folder field, enter the type of folder where you want to get the email.
  • In the Search field, input the email subject message.
  • For the Limit field, enter the number of results to be worked with during the execution cycle.

Microsoft 365 Email Configuration

Step 5: Choose Where to Start

  • In the Choose where to start field, select the option below where you’d like to get the email.

Choose where to start

After setting up the configuration, run the scenario to fetch the email message.

Step 6: Add Module

  • Let’s add another module and select the app.

Add Module

Step 7: Make an API Call Module

  • Next, select the Make an API Call so we can use the HTML to PDF API endpoint.

Make an API Call

Step 8: Setup Configuration

Let’s set up the configuration.

  • First, connect your account to Make by adding the API Key. You can get the API key in your dashboard.
  • For the API Endpoint field, enter the v1/pdf/convert/from/html endpoint. This API endpoint will convert HTML into a full-featured PDF.
  • We will set up the Body param. For Item 1, enter html as the key and select the Body Content from the Outlook Email.
  • For Item 2, type name as the key and enter your desired generated PDF file name.

Setup Configuration Configuration

Once you are done setting up, run the scenario to see the result.

Step 9: Run Scenario Result

  • Great! The scenario runs successfully and returned a temporary URL, copy the URL and paste it into your browser to view the output.

Run Scenario Result

Step 10: Generated PDF Output

  • Here’s the generated PDF from the Outlook email.
Generated PDF Output
Generated PDF Output

In this tutorial, you learned how to convert an Outlook email into a PDF using and Make. You also learned how to use the HTML to PDF API endpoint to generate a PDF file.