refactored method name in mail service