Send email with a template using php