send comfirmation emails
add an integration test