Move "Mail" queries into dedicated service.