snippets for mail mode