Trim emails and paths to always fit on the screen.

If a value is too long, it is shortened, ... is appended and a tooltip
is added with the original value.