Skeleton code to send email and SMS