I can't send email by role in Notification AttributeError: ‘Meta’ object has no attribute ‘permissions’

A wild guess possibly a result of this caching change to develop two weeks ago optimize(meta): meta is now cached in redis by rmehta · Pull Request #5948 · frappe/frappe · GitHub

read about it here too [Performance] 1 Sales Invoice Save makes ~700+ DB calls. ~1000+ DB calls on Submit - #28 by jpp