I have a Bash script which is scheduled to run everyday and sends out user notification emails using a command like:
mail -s "Hello World" someone@gmail.com
Why is this email detected as spam by Gmail. Is there something I can do so that Gmail doesn't spam the email?