created custom templates for inbox and messages