Replace candidate and {name} from mail content