Borya shows us how to send emails using an ESP8266 wifi module.
I will show you how to send emails from any ESP8266 wifi module using Gmail server.
This instructable relies on Arduino core for ESP8266 WiFi chip,
which makes a self-contained microcontroller from it (no need of AT commands and master devices).
ESP8266 GMail sender – [Link]