Fixed email printing using str.format()