Skip to content

Commit 1f8bf81

Browse files
committed
update
1 parent ed9c7ce commit 1f8bf81

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/learn/emails/email-body-converter.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,18 @@ Email body converter is a webhook maintained by Rossum. To use it, follow these
6363
// Optional. Specifies the style for TXT files, which are first converted to HTML and then
6464
// to PDF. This configuration is added as an HTML style tag to affect the appearance of
6565
// the TXT in the converted PDF.
66-
"txt_style": "@page { size: letter landscape; margin: 2cm; } pre { white-space: pre-wrap; }"
66+
"txt_style": "@page { size: letter landscape; margin: 2cm; } pre { white-space: pre-wrap; }",
67+
68+
// Optional. Specifies the style for the email header in the rendered PDF.
69+
"header_style": "table.email-header { width: 100%; border-collapse: collapse; font-family: Arial,Helvetica,sans-serif; font-size: 14px; margin-bottom: 20px; }\ntable.email-header td { vertical-align: top; padding: 2px 0; }\ntable.email-header td:first-child { padding: 2px 2em 2px 0; white-space: nowrap; width: 1%; }\ntable.email-header td:nth-child(2) { word-break: break-all; }",
70+
71+
// Optional. If set to `true`, the webhook will only create a document (via /documents API
72+
// endpoint) and will not create the annotation. Default is `false`.
73+
"create_document_only": false,
74+
75+
// Optional. If set to `true`, the webhook will include the email header in the rendered PDF.
76+
// Default is `false`.
77+
"include_header_in_pdf": false
6778
}
6879
]
6980
}

0 commit comments

Comments
 (0)