I have one custom checkbox field on Case named Check__c and I want it to be checked if the From Address of the incoming email message linked to that case is equal to the Case Owner's email. there is one custom field case_owner_email__c which holds the case owner email.
How can I check the condition for checking if the from address is equal to the case owner's email? I guess it will be handled as an after insert trigger only. My idea is that i create a map of case id and case owner email and do something after that but i am not getting a clear picture. Please advise.
Thanks in Advance, Alex