# Can I add staff to Ghost without creating a Mailgun account?

**URL:** <https://forum.ghost.org/t/can-i-add-staff-to-ghost-without-creating-a-mailgun-account/24057>\
**Category:** Developer help\
**Created:** [July 8, 2021, 4:09pm UTC](https://forum.ghost.org/t/can-i-add-staff-to-ghost-without-creating-a-mailgun-account/24057 "2021-07-08T16:09:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Svetlana\_Tsupryk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/svetlana_tsupryk/32/10416_2.png) [@Svetlana\_Tsupryk](https://forum.ghost.org/u/Svetlana_Tsupryk)\
**Post date:** [July 8, 2021, 4:09pm UTC](https://forum.ghost.org/t/can-i-add-staff-to-ghost-without-creating-a-mailgun-account/24057/1 "2021-07-08T16:09:49Z")

</div>

Hello!  
I can’t add staff to Ghost after I had updated to 4 version.  
There is no invitation on email.  
Before updating everything was fine, emails was in inbox. Maybe I need to change smth in my new Admin panel?

---

<div class="post-metadata">

**Author:** ![kose\_mark](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kose_mark/32/14237_2.png) [@kose\_mark](https://forum.ghost.org/u/kose_mark)\
**Post date:** [July 9, 2021, 12:15pm UTC](https://forum.ghost.org/t/can-i-add-staff-to-ghost-without-creating-a-mailgun-account/24057/2 "2021-07-09T12:15:52Z")

</div>

As far as I know, transactional emails (like when someone registers, you add staff, user forgets password,etc.) do not use Mailgun bulk mail config but uses the mail configuration in config file as [described here.](https://ghost.org/docs/faq/mailgun-newsletters/). Not to confuse you, you can also configure to use Mailgun for transactional emails using your config file but it is not required, you can use any SMTP server,

So double check your email config and also see if there are any log messages indicating what may be the problem

---

<div class="post-metadata">

**Author:** ![Svetlana\_Tsupryk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/svetlana_tsupryk/32/10416_2.png) [@Svetlana\_Tsupryk](https://forum.ghost.org/u/Svetlana_Tsupryk)\
**Post date:** [July 9, 2021, 12:31pm UTC](https://forum.ghost.org/t/can-i-add-staff-to-ghost-without-creating-a-mailgun-account/24057/3 "2021-07-09T12:31:19Z")

</div>

Thank you!  
Are you sure that for adding staff I don`t need use Mailgun?

---

<div class="post-metadata">

**Author:** ![kose\_mark](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kose_mark/32/14237_2.png) [@kose\_mark](https://forum.ghost.org/u/kose_mark)\
**Post date:** [July 9, 2021, 12:38pm UTC](https://forum.ghost.org/t/can-i-add-staff-to-ghost-without-creating-a-mailgun-account/24057/4 "2021-07-09T12:38:08Z")

</div>

Somebody correct me if I’m wrong…  
You don’t need to use specifically Mailgun. You can use any SMTP server, Mailgun, Gmail, AWS, or any other. It does not matter. But you **have** to have one configured in your config. I am attaching the image from Ghost documentation here that highlights the difference between transactional and bulk emails(newsletters)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/3/35729ab51500fa8b13b088fe91c316d486bf05f7.png)

---

<div class="post-metadata">

**Author:** ![Svetlana\_Tsupryk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/svetlana_tsupryk/32/10416_2.png) [@Svetlana\_Tsupryk](https://forum.ghost.org/u/Svetlana_Tsupryk)\
**Post date:** [July 9, 2021, 12:44pm UTC](https://forum.ghost.org/t/can-i-add-staff-to-ghost-without-creating-a-mailgun-account/24057/5 "2021-07-09T12:44:46Z")

</div>

Should I do it if Gmail suits me? It is not by default?  
If not could you please help me with

> [@kose\_mark](#):
>
> to have one configured in your config.

How can I do this?  
I will be very grateful)

---

<div class="post-metadata">

**Author:** ![kose\_mark](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kose_mark/32/14237_2.png) [@kose\_mark](https://forum.ghost.org/u/kose_mark)\
**Post date:** [July 9, 2021, 3:49pm UTC](https://forum.ghost.org/t/can-i-add-staff-to-ghost-without-creating-a-mailgun-account/24057/6 "2021-07-09T15:49:54Z")

</div>

I have not configured Gmail myself, as I have my own SMTP server. [This document](https://www.digitalocean.com/community/tutorials/how-to-use-google-s-smtp-server) seems to explain the settings for Gmail SMTP (not sure of they are up to date)  
Email settings in config will be like :  
“mail”: {  
“transport”: “SMTP”,  
“from”: “’[Your Name]’ [email@gmail.com](mailto:email@gmail.com)”,  
“options”: {  
“host”: “[SMTP server host name]”,  
“port”: 465,  
“secureConnection”: true,  
“auth”: {  
“user”: “email@gmail.com",  
“pass”: “[YOUR PASSWORD]”  
}  
}  
},

Again, I have not tried Gmail myself, so these settings may need a bit of tweaking. I don’t have time today to configure/verify them, but I may be able to take a look later

---

<div class="post-metadata">

**Author:** ![Svetlana\_Tsupryk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/svetlana_tsupryk/32/10416_2.png) [@Svetlana\_Tsupryk](https://forum.ghost.org/u/Svetlana_Tsupryk)\
**Post date:** [July 12, 2021, 2:13pm UTC](https://forum.ghost.org/t/can-i-add-staff-to-ghost-without-creating-a-mailgun-account/24057/7 "2021-07-12T14:13:45Z")

</div>

Today I have seen logs. They says:

> Uncaught Error: Request was rejected because user is not permitted to perform this operation.

Whole description

> vendor.min-1d0e4f046c2a602700d3667894edc116.js:9171 Uncaught Error: Request was rejected because user is not permitted to perform this operation.  
> at e.\_createCorrectError (vendor.min-1d0e4f046c2a602700d3667894edc116.js:9209)  
> at e.handleResponse (vendor.min-1d0e4f046c2a602700d3667894edc116.js:9207)  
> at e.handleResponse (ghost.min-0b6e9b2a2da4a18970ef236c4770889a.js:2312)  
> at e.n [as handleResponse] (vendor.min-1d0e4f046c2a602700d3667894edc116.js:2370)  
> at e. (vendor.min-1d0e4f046c2a602700d3667894edc116.js:9196)  
> at l (vendor.min-1d0e4f046c2a602700d3667894edc116.js:622)  
> at Object.fireWith [as rejectWith] (vendor.min-1d0e4f046c2a602700d3667894edc116.js:623)  
> at A (vendor.min-1d0e4f046c2a602700d3667894edc116.js:906)  
> at XMLHttpRequest. (vendor.min-1d0e4f046c2a602700d3667894edc116.js:917)

I suppose that administrator doesn`t have rights to add staff. But on UI shows success message:

> Invitation sent!

This error is shown only after click on other menu item. Before update as it should be admin could add staff. [@staff](https://forum.ghost.org/groups/staff)

@daniellockyer  
Might your command please investigate this?
