<commit_before># org.civicoop.pdfapi
PDF API for CiviCRM to create a PDF file and send it to a specified e-mail address.
This is usefull for automatic generation of letters

The entity for the PDF API is Pdf and the action is Create.
Parameters for the api are specified below:
- contact_id: list of contacts IDs to create the PDF Letter (separated by ",")
- template_id: ID of the message template which will be used in the API. _You have to enter the text in the HTML part of the template and select PDF Page format_
- to_email: e-mail address where the pdf file is send to
- pdf_format_id: (optional) ID of the PDF format, is not especified the default PDF format is used

*It is not possible to specify your own message through the API.*

<commit_msg>Add the parameter template_email_id in Readme<commit_after># org.civicoop.pdfapi
PDF API for CiviCRM to create a PDF file and send it to a specified e-mail address.
This is usefull for automatic generation of letters

The entity for the PDF API is Pdf and the action is Create.
Parameters for the api are specified below:
- contact_id: list of contacts IDs to create the PDF Letter (separated by ",")
- template_id: ID of the message template which will be used in the API. _You have to enter the text in the HTML part of the template and select PDF Page format_
- to_email: e-mail address where the pdf file is send to
- pdf_format_id: (optional) ID of the PDF format, is not especified the default PDF format is used
- template_email_id: (optional) ID of the message template which will be used to generate the email body.

*It is not possible to specify your own message through the API.*


{'fraction_non_alphanumeric': 0.040655339805825245, 'fraction_numerical': 0.0, 'mean_word_length': 4.137071651090342, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3760712', 'n_tokens_mistral': 439, 'n_tokens_neox': 435, 'n_words': 277}