add attachments support in sendmail.py and add send dir support in send_dir_mail.py