old_contents: #
  # Emails configuration and templates used when an task order is created, CUSTOMIZE...
  #
  
  import os
  
  
  EMAIL_TIMEOUT = 3      # seconds
  EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  EMAIL_HOST = os.getenv('EMAIL_HOST', 'smtp.gmail.com')
  EMAIL_USE_TLS = os.getenv('EMAIL_USE_TLS', 'true') == 'true'
  EMAIL_PORT = os.getenv('EMAIL_PORT', 587)
  EMAIL_HOST_USER = os.getenv('EMAIL_HOST_USER', 'YOUREMAIL@gmail.com')
  EMAIL_HOST_PASSWORD = os.getenv('EMAIL_HOST_PASSWORD', 'PASS')
  
  
  TASKS_SEND_EMAILS_TO_ASSIGNED = os.getenv('TASKS_SEND_EMAILS_TO_ASSIGNED', 'true') == 'true'
  TASKS_SEND_EMAILS_TO_PARTNERS = os.getenv('TASKS_SEND_EMAILS_TO_PARTNERS', 'true') == 'true'
  
  
  # Enables the Tornado Django Coleman Viewer (it will send emails with the order URL)
  # Check: https://github.com/mrsarm/tornado-dcoleman-mtasks-viewer
  TASKS_VIEWER_ENABLED = os.getenv('TASKS_VIEWER_ENABLED', 'true') == 'true'
  TASKS_VIEWER_HASH_SALT = os.getenv('TASKS_VIEWER_HASH_SALT', '1two3')   # REPLACE in production !!!
  TASKS_VIEWER_ENDPOINT = os.getenv('TASKS_VIEWER_ENDPOINT', 'http://localhost:8888/{number}?t={token}')
  
  MTASKS_EMAIL_WITHOUT_URL = '''\
  New task #{id} created.
  
  Title:
  {title}
  
  Assigned:
  {user}
  
  Description:
  {description}
  
  Please note: Do NOT reply to this email. This email is sent from an unattended mailbox.
  Replies will not be read.
  
  ---
  {sign}
  '''
  
  
  MTASKS_EMAIL_WITH_URL = '''\
  New task #{id} created.
  
  Title:
  {title}
  
  Assigned:
  {user}
  
  Description:
  {description}
  
  Order URL:
  {url}
  
  Please note: Do NOT reply to this email. This email is sent from an unattended mailbox.
  Replies will not be read.
  
  ---
  {sign}
  '''
new_contents: #
  # Emails configuration and templates used when an task order is created, CUSTOMIZE...
  #
  
  import os
  
  
  EMAIL_TIMEOUT = 3      # seconds
  EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  EMAIL_HOST = os.getenv('EMAIL_HOST', 'smtp.gmail.com')
  EMAIL_USE_TLS = os.getenv('EMAIL_USE_TLS', 'true') == 'true'
  EMAIL_PORT = os.getenv('EMAIL_PORT', 587)
  EMAIL_HOST_USER = os.getenv('EMAIL_HOST_USER', 'YOUREMAIL@gmail.com')
  EMAIL_HOST_PASSWORD = os.getenv('EMAIL_HOST_PASSWORD', 'PASS')
  
  
  TASKS_SEND_EMAILS_TO_ASSIGNED = os.getenv('TASKS_SEND_EMAILS_TO_ASSIGNED', 'false') == 'true'
  TASKS_SEND_EMAILS_TO_PARTNERS = os.getenv('TASKS_SEND_EMAILS_TO_PARTNERS', 'false') == 'true'
  
  
  # Enables the Tornado Django Coleman Viewer (it will send emails with the order URL)
  # Check: https://github.com/mrsarm/tornado-dcoleman-mtasks-viewer
  TASKS_VIEWER_ENABLED = os.getenv('TASKS_VIEWER_ENABLED', 'false') == 'true'
  TASKS_VIEWER_HASH_SALT = os.getenv('TASKS_VIEWER_HASH_SALT', '1two3')   # REPLACE in production !!!
  TASKS_VIEWER_ENDPOINT = os.getenv('TASKS_VIEWER_ENDPOINT', 'http://localhost:8888/{number}?t={token}')
  
  MTASKS_EMAIL_WITHOUT_URL = '''\
  New task #{id} created.
  
  Title:
  {title}
  
  Assigned:
  {user}
  
  Description:
  {description}
  
  Please note: Do NOT reply to this email. This email is sent from an unattended mailbox.
  Replies will not be read.
  
  ---
  {sign}
  '''
  
  
  MTASKS_EMAIL_WITH_URL = '''\
  New task #{id} created.
  
  Title:
  {title}
  
  Assigned:
  {user}
  
  Description:
  {description}
  
  Order URL:
  {url}
  
  Please note: Do NOT reply to this email. This email is sent from an unattended mailbox.
  Replies will not be read.
  
  ---
  {sign}
  '''
subject: Rollback default changed settings