Update sample plugin to use new email tempalet class