Fix wrong attribute usage
Add mail personalization hook