Send mail

Hello everybody! I'am begginer. I have this kit wireless:

I hooked up a humidity sensor for my plants and would like to send email using gmail when there is no water, then using arduino IDE software and would like to know what code to use.

Another good idea would be to log on to Facebook and send post. Can anyone help me please? I am starting and this is my first project. Thank you.