Common templates for popin and mail