Added pre-inlined mail template to improve performance