add : custom template and mail