add logger info and error for social media and send email util