in reply to e-mail question

I have been doing something similar and Mail::Sendmail is definitely the way to go.

It is very easy to set up - just change one line in the module to define you mail server.

It is then a simple matter to sort the data and produce a reasonably professional looking e-mail notification.