handle custom email handlers