updates docstring for better email output.