In my scenario, I don't want task to be created automatically when an email-to-case has been created. I checked the Routing address name and 'Create Task to Email' is disabled but still the task is being created. What I am missing? How can I have the email-to-case functionality not to create any task on case creation?
@Arnold Jr. brings up good suggestions. Salesforce has a knowledge article regarding this exact issue ("Create Task to Email" is disabled, but yet it still creates a task).
The two things that cause this behavior according to that article:
Routing Address in Pending State. Check your "Verification" column in your email-to-case settings.
Setup --> Email-to-case --> Routing Addresses
If the verification has not completed, please do so.
Automated Case User's profile does not have access to Record Type
Find the record type being set in the email-to-case settings under the Routing Address
Check your Automated Case User by going to Setup --> Support Settings. Confirm the profile on this user has access to the record type.