modify send_gmail() module