What if this task isn't an email task? Shouldn't it be `task_input.get('email_id', None)` ?