separates email logic from save on deposits