# Notify the user that the task called back home if using a WMS
iftask.computing.wms:
ifsettings.DJANGO_EMAIL_APIKEY:
logger.info('Agent API sending task ready mail notification to "{}"'.format(task.user.email))
mail_subject='Your Task "{}" is now starting up'.format(task.container.name)
mail_text='Hello,\n\nyour Task "{}" on {} is now starting up. Check logs or connect here: https://{}/tasks/?uuid={}\n\nThe Rosetta notifications bot.'.format(task.container.name,task.computing,settings.ROSETTA_HOST,task.uuid)