Save email as Pdf without Ui activities

Is there any way to save an email as a pdf without using any click activities or any print options ?

I’ve tried few options to handle this:

  1. Save email as .msg → Open msg → Click file → Print and save as pdf. But this method is having a lower success rate when running in a VM, due to printer and its settings (even the default printer and its settings are changed)

  2. Saving an email as html or text and the converting to pdf - In this way the format of email body is getting changed.

Appreciate your suggestions and help. Thanks in advance !!

Hello,

Have you tried to save the email using Save Mail activity and try to convert it using this activity?

Thanks!
Athira

Thanks for your response @athira.somasekharan

I’ve tried this activity and even this is changing the format of email content.

Save email as. msg → Open msg → Click file → Print and save as pdf. But this method is having a lower success rate when running in a VM, due to the printer and its settings (even the default printer and its settings are changed)

Hope this helps