Email template and string tokenizer