# Send PM to an email adress from a plugin

**URL:** <https://meta.discourse.org/t/send-pm-to-an-email-adress-from-a-plugin/280702>\
**Category:** Development\
**Created:** [October 2, 2023, 6:06am UTC](https://meta.discourse.org/t/send-pm-to-an-email-adress-from-a-plugin/280702 "2023-10-02T06:06:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Luicid](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/luicid/32/306711_2.png) [@Luicid](https://meta.discourse.org/u/Luicid)\
**Post date:** [October 2, 2023, 7:44am UTC](https://meta.discourse.org/t/send-pm-to-an-email-adress-from-a-plugin/280702/3 "2023-10-02T07:44:02Z")

</div>

Hello Robert,

That’s weird because on the front end, Discourse uses a payload like this and it is working (tested with my private email) :

```plaintext
raw: Again a message content here.
title: Hello there general kenoby
archetype: private_message
target_recipients: j.doe@something.com

```

I found it weird that we are expecting a group name on the backend 😕

---

_[View the full topic](https://meta.discourse.org/t/send-pm-to-an-email-adress-from-a-plugin/280702)._
