added functions :
- render dict to html
- send mails with attachments