added function mail widget with gmail-integration