* fix: Validate file name length
$message could contain a large email text that if sent to is_file it could break with this error:
` is_file(): File name is longer than the maximum allowed path `
This validation prevents using is_file if the $message is longer than the allowed path.
* style: Fix extra space
* Added a small test
* cs
* cs