Add server email and sms test function.