If you ar eusing jomsocial, it is because the edit details link from jomsocial blocks email change. This was to solve issues with another component.
However i believe this will be changing in future.
You are better off redirecting to the Joomla edit details link instead.