# Using an email to actually trigger an agent outside of MindStudio environment

**URL:** <https://community.mindstudio.ai/t/using-an-email-to-actually-trigger-an-agent-outside-of-mindstudio-environment/205>\
**Category:** Support\
**Created:** [March 28, 2025, 6:27pm UTC](https://community.mindstudio.ai/t/using-an-email-to-actually-trigger-an-agent-outside-of-mindstudio-environment/205 "2025-03-28T18:27:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rfallini](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rfallini](https://community.mindstudio.ai/u/rfallini)\
**Post date:** [March 28, 2025, 6:27pm UTC](https://community.mindstudio.ai/t/using-an-email-to-actually-trigger-an-agent-outside-of-mindstudio-environment/205/1 "2025-03-28T18:27:36Z")

</div>

I modified the daily news summary to email a revised version of the incoming email message in a format suitable for social media blast. This works great for runs initiatied in MindStudio - however despite using the trigger email - the agent is not triggered by an email sent outside of the Mindstudio run action. What am I missing?

---

<div class="post-metadata">

**Author:** ![jerry-mindstudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/jerry-mindstudio/32/26_2.png) [@jerry-mindstudio](https://community.mindstudio.ai/u/jerry-mindstudio)\
**Post date:** [March 28, 2025, 6:31pm UTC](https://community.mindstudio.ai/t/using-an-email-to-actually-trigger-an-agent-outside-of-mindstudio-environment/205/2 "2025-03-28T18:31:34Z")

</div>

What email client are you using (gmail, outlook, etc.) to send the trigger email?

---

<div class="post-metadata">

**Author:** ![rfallini](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rfallini](https://community.mindstudio.ai/u/rfallini)\
**Post date:** [March 28, 2025, 6:42pm UTC](https://community.mindstudio.ai/t/using-an-email-to-actually-trigger-an-agent-outside-of-mindstudio-environment/205/3 "2025-03-28T18:42:01Z")

</div>

I have tried both gmail and hotmail. Both failed outside of MindStudio.ai environment, both worked when I launched the agent from within the MindStudio environment.

---

<div class="post-metadata">

**Author:** ![sean](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sean](https://community.mindstudio.ai/u/sean)\
**Post date:** [March 28, 2025, 7:12pm UTC](https://community.mindstudio.ai/t/using-an-email-to-actually-trigger-an-agent-outside-of-mindstudio-environment/205/4 "2025-03-28T19:12:17Z")

</div>

Do you see anything in the debugger? Can you please message me the ID of your agent and I can take a look.

---

<div class="post-metadata">

**Author:** ![rfallini](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rfallini](https://community.mindstudio.ai/u/rfallini)\
**Post date:** [March 28, 2025, 7:17pm UTC](https://community.mindstudio.ai/t/using-an-email-to-actually-trigger-an-agent-outside-of-mindstudio-environment/205/5 "2025-03-28T19:17:31Z")

</div>

[https://app.mindstudio.ai/agents/1d6128a4-fb82-4e12-8911-9bd58f10c175/edit](https://app.mindstudio.ai/agents/1d6128a4-fb82-4e12-8911-9bd58f10c175/edit)

Not sure where to find the ID, the URL is shown here. Title is agent is “Email Triggered Social Media Blast”

Will check debugger - no errors are displayed.

---

<div class="post-metadata">

**Author:** ![rfallini](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rfallini](https://community.mindstudio.ai/u/rfallini)\
**Post date:** [March 29, 2025, 6:31pm UTC](https://community.mindstudio.ai/t/using-an-email-to-actually-trigger-an-agent-outside-of-mindstudio-environment/205/6 "2025-03-29T18:31:21Z")

</div>

Problem solved by starting from scratch and using a new prompt. Gmail works as remote trigger, agent runs outside of the MindStudio environment once target email sent and returns the response to the sender after processing. hotmail/outlook does not do this.  
Ryan

---

<div class="post-metadata">

**Author:** ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)\
**Post date:** [April 4, 2025, 4:52pm UTC](https://community.mindstudio.ai/t/using-an-email-to-actually-trigger-an-agent-outside-of-mindstudio-environment/205/7 "2025-04-04T16:52:10Z")

</div>


