Added email and keyword backend functionality