<p>The dynamic object passed to a Notification Event depends on which Event is being triggered. In your case, the "When a user is saved" event has access to the <a href="https://docs.craftcms.com/api/v3/craft-elements-user.html" rel="nofollow noreferrer">User Model</a>.</p>

<p>All of the attributes you are trying to access are on that User Model and are directly associated with the model itself:</p>

<pre><code>{firstName}
{lastName}
{email}

{{ object.firstName }}
{{ object.LastName }}
{{ object.email }}
</code></pre>

<p>In your example, you are trying to access the attribute <code>author</code>. However, <code>author</code> is an attribute from the <a href="https://docs.craftcms.com/api/v3/craft-elements-entry.html#property-author" rel="nofollow noreferrer">Entry Model</a>. The Entry Model is available to the "When an entry is saved" event and other Entry-specific events.</p>

CC BY-SA 4.0
2019-03-02T15:03:58.637Z
Ok thank you.

Additional question. Will the notification only work when the entry is saved/updated as a live/enabled entry?
sarah3585
CC BY-SA 4.0
2019-03-02T14:43:32.250Z
2019-03-02T14:43:32.250Z
Ben Parizek
<p>I've got a notification set up when a user is saved/updated.</p>

<p>I'm trying to add the author/user who made the update </p>

<p>Tried the following to see what returns and nothing:</p>

<pre><code>{author}

{author.email}

{author.firstName}

{{object.author.email}}
</code></pre>

<plugin-sproutemail><author>
Sprout Email - output the
# Sprout Email - output the

(Asked by: username_0 on 2019-03-02)

I've got a notification set up when a user is saved/updated.
I'm trying to add the author/user who made the update 
Tried the following to see what returns and nothing:
{author}

{author.email}

{author.firstName}

{{object.author.email}}

**Tags:** plugin-sproutemail, author


---

## 1 answers

### Answer by username_1 on 2019-03-02. Score: 1 | Accepted answer

The dynamic object passed to a Notification Event depends on which Event is being triggered. In your case, the "When a user is saved" event has access to the User Model.
All of the attributes you are trying to access are on that User Model and are directly associated with the model itself:
{firstName}
{lastName}
{email}

{{ object.firstName }}
{{ object.LastName }}
{{ object.email }}

In your example, you are trying to access the attribute author. However, author is an attribute from the Entry Model. The Entry Model is available to the "When an entry is saved" event and other Entry-specific events.

> **Comments:**
> **username_0**: Ok thank you.  Additional question. Will the notification only work when the entry is saved/updated as a live/enabled entry?  

---

