error handling if there are no pdfs to email. added msgs.