only send user confirmation email if flag is set