Please can any one help me on this,
I would like to disable email notofication for customers, which have a flag non_email_customers set to true.
I Have Try this way. i have created a plugin for:
but I don't know how to get customer object there. Getting it from customer session is not the best solution I suppose beacuse of mail from adminhtml area. Any ideas how to resolve this issue?