<commit_before>
==== Javamail Configuration

===== GETs (Reading Data)

[options="header", cols="5,10"]
|===
| Resource        | Description
| `/config/javamail/default/readmail` | Get the name of the default readmail config.
| `/config/javamail/default/sendmail` | Get the name of the default sendmail config.
| `/config/javamail/readmails` | Get the name of all the existing readmail configurations.
| `/config/javamail/sendmails` | Get the name of all the existing sendmail configurations.
| `/config/javamail/end2ends ` | Get the name of all the existing end2end mail configurations.
| `/config/javamail/readmails/{name}` | Get the content of the readmail configuration named {name}
| `/config/javamail/sendmails/{name}` | Get the content of the sendmail configuration named {name}
| `/config/javamail/end2ends/{name}` | Get the content of the end2end mail configuration named {name}
|===

===== POSTs (Adding/Updating Data)

POST requires form data using application/xml or application/json as a Content-Type.

On a successful request, the Email NBI will be notified about the configuration change.

[options="header", cols="5,10"]
|===
| Resource        | Description
| `/config/javamail/readmails` | Adds a new or overrides an existing readmail configuration.
| `/config/javamail/sendmails` | Adds a new or overrides an existing sendmail configuration.
| `/config/javamail/end2ends` | Adds a new or overrides an existing end2ends mail configuration.<commit_msg>Fix small typo on javamail-config.adoc<commit_after>
==== Javamail Configuration

===== GETs (Reading Data)

[options="header", cols="5,10"]
|===
| Resource        | Description
| `/config/javamail/default/readmail` | Get the name of the default readmail config.
| `/config/javamail/default/sendmail` | Get the name of the default sendmail config.
| `/config/javamail/readmails` | Get the name of all the existing readmail configurations.
| `/config/javamail/sendmails` | Get the name of all the existing sendmail configurations.
| `/config/javamail/end2ends` | Get the name of all the existing end2end mail configurations.
| `/config/javamail/readmails/{name}` | Get the content of the readmail configuration named {name}
| `/config/javamail/sendmails/{name}` | Get the content of the sendmail configuration named {name}
| `/config/javamail/end2ends/{name}` | Get the content of the end2end mail configuration named {name}
|===

===== POSTs (Adding/Updating Data)

POST requires form data using application/xml or application/json as a Content-Type.

On a successful request, the Email NBI will be notified about the configuration change.

[options="header", cols="5,10"]
|===
| Resource        | Description
| `/config/javamail/readmails` | Adds a new or overrides an existing readmail configuration.
| `/config/javamail/sendmails` | Adds a new or overrides an existing sendmail configuration.
| `/config/javamail/end2ends` | Adds a new or overrides an existing end2ends mail configuration.
{'fraction_non_alphanumeric': 0.11283783783783784, 'fraction_numerical': 0.008108108108108109, 'mean_word_length': 4.694230769230769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6037419', 'n_tokens_mistral': 891, 'n_tokens_neox': 866, 'n_words': 309}