adding support for confirmation emails