How to mail the scraping data through SMTP

and after that