PowerShell Script for Automated Email Handling

Job ID: 38455570

Budget: $10 – $30 AUD

I am looking for a skilled PowerShell programmer to develop a script that will automate the process of downloading specific emails from my Ventra IP mailbox, extracting a PDF document from the email content, and then sending that PDF via email.

Key Requirements:

script that can be run with a task scheduler unattended that connects to a VentraIP mailbox via IMAP and find unread emails in the inbox folder from senders with the domain names @AAA.com and @BBB.com where the attachments are .eml files.
Download those .eml files to D:\EML_Files, amending the .eml file name adding the original email address as a prefix then and then Extract the .PDF file from those .eml files and save the PDF files to D:\PDF_Files, using the “eml files name_ pdf files name.pdf”
Then in the Ventra IP IMAP mailbox, move the emails from the inbox to the archived folder. AAAarchive for @AAA.com and BBBarchive for @BBB.com
Then individually email the downloaded PDF file saved in D:\PDF_Files to CCC.com.au with the pdf file name as the subject line using the address DDD.com.au and smtp server DDD-com-au.mail.protection.outlook.com.
Once the process is complete, move the .eml files to an archive folder D:\EML_Files\Archive and move the .pdf file to an archive folder D:\PDF_Files\Archive.
Write the actions to a text log file D:\_EML_Log.txt


Ideal Skills and Experience:
- Proficient in PowerShell scripting, especially in the context of email handling.
- Experience with IMAP mailbox interaction.
- Prior experience with automated email handling and scheduling is a plus.