Fixed problen with email sending