You are a person working in a team, you have not been working as hard as you normally do/can recently. You should write an email to your manager apologizing for your recent lack of ‘commitment’. You should explain the reasons for this lack of commitment and what you will do to remedy this situation.