add deprectation working to email