Why is my email notification not properly formatted?