EWS or Powershell script to send notification of unread emails to their private emails for unmonitored user mailboxes.

Hi Team,

We have few users who do not check their mailboxes regularly. May I request a script which will send a information email of unread email count to their private email address.

I found few below articles which gives only unread email count, can we add an additional function so that it will send notification email to a given list

https://smtpport25.wordpress.com/2009/08/24/powershell-to-get-the-number-of-mails-in-the-inbox-and-number-of-unread-emails-in-inbox/  http://www.infinitec.de/post/2011/07/25/How-to-get-the-number-of-unread-mails-from-multiple-mailboxes-using-the-EWS-Managed-API-and-PowerShell.aspx

Thank you.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jian An LimSolutions ArchitectCommented:
I have been looking at this question for a few days and since no one want to answer i put my few cent in.

in order to send email you can use powershell send-mailmessage

though, If they have not check their mailbox, why not you just configure targetaddress attribute on the users (targetaddress can be anything not like forwarding address that must be a contact)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
o365AdmAuthor Commented:
Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.