<commit_before>SMTP Worker
=============
Send queued e-mail in separate process through
a JSON abstraction.

Why?
=============
* Security, SMTP credentials are isolated from the website
* Simplicity, the website creates JSON and all SMTP logic is isolated here
* Scalable, things need to go faster? Start a second..third..fourth.. worker!
* Cleaner, no more ugly timeouts in the browser if trouble and no more lost emails/customers!

How?
=============
* Use Beanstalkd (http://kr.github.io/beanstalkd/) to add jobs in a queue.
* One or more SMTPw-apps read the queue and try to send
* Failure? Wait 20sec and try again!

Config
=============
```
{
	"beanstalk": "127.0.0.1:11300",             // Hostname:port to Beanstalkd
	"from": {
		"support": {                            // From in JSON matches to this from
			"user": "usr",                      // SMTP username
			"pass": "ps",                       // SMTP password
			"host": "smtp.itshosted.nl",        // SMTP hostname
			"port": 113,                        // SMTP port<commit_msg>Doc. Fix doc, should be instance instead of app (too abstract)<commit_after>SMTP Worker
=============
Send queued e-mail in separate process through
a JSON abstraction.

Why?
=============
* Security, SMTP credentials are isolated from the website
* Simplicity, the website creates JSON and all SMTP logic is isolated here
* Scalable, things need to go faster? Start a second..third..fourth.. worker!
* Cleaner, no more ugly timeouts in the browser if trouble and no more lost emails/customers!

How?
=============
* Use Beanstalkd (http://kr.github.io/beanstalkd/) to add jobs in a queue.
* One or more SMTPw-instances read the queue and try to send
* Failure? Wait 20sec and try again!

Config
=============
```
{
	"beanstalk": "127.0.0.1:11300",             // Hostname:port to Beanstalkd
	"from": {
		"support": {                            // From in JSON matches to this from
			"user": "usr",                      // SMTP username
			"pass": "ps",                       // SMTP password
			"host": "smtp.itshosted.nl",        // SMTP hostname
			"port": 113,                        // SMTP port
{'fraction_non_alphanumeric': 0.14338919925512103, 'fraction_numerical': 0.0148975791433892, 'mean_word_length': 2.5, 'pattern_counts': {'":': 14, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1102537', 'n_tokens_mistral': 666, 'n_tokens_neox': 590, 'n_words': 241}