apply email service into action