set input from mail