implemented customizable emails