Auto-responder is displaying undefined value