--- contentRenderer.orig.php	2020-03-15 18:31:44.740774065 +0100
+++ contentRenderer.php	2020-03-16 11:07:46.276655997 +0100
@@ -950,13 +950,24 @@
 
 		$newtext .= '   </style>' . "\n";
 		$newtext .= ' </head>' . "\n";
 
-		if (isset($tpl->basics['paper_bg']))
+		if ($tpl->tpl_id !== '0')
 		{
-			$newtext .= ' <body bgcolor="' . $tpl->basics['paper_bg'] .
-				'" emb-default-bgcolor="' . $tpl->basics['paper_bg'] . '" style="background-color:' . $tpl->basics['paper_bg'] .
-				';color:' . $tpl->basics['legal_color'] . ';">' . "\n";
+                    $newtext .= ' <body ';
+                    if (empty($tpl->basics['paper_bg'])) {
+			$newtext .= 'bgcolor="#ffffff" emb-default-bgcolor="#ffffff"';
+                        if(!empty($tpl->basics['legal_color'])) {
+                            $newtext .= ' style="color:' . $tpl->basics['legal_color'] . '";';
+                        }
+                    } else {
+			$newtext .= 'bgcolor="' . $tpl->basics['paper_bg'] . '" emb-default-bgcolor="' . $tpl->basics['paper_bg'] . '" style="background-color:' . $tpl->basics['paper_bg'] . ';';
+                        if (!empty($tpl->basics['legal_color'])) {
+                            $newtext .= 'color:' . $tpl->basics['legal_color'] . ';';
+                        }
+                        $newtext .= '"';
+                    }
+                    $newtext .= '>' . "\n";
 		}
 		else
 		{
 			$newtext .= isset($tpl->tpl_tags_body) && $tpl->tpl_tags_body == 0 ? $tpl->tpl_tags_body_advanced : BwPostmanTplHelper::getBodyTag();
