Almost got a script to send emails!