# Mail-receiver deprecation warning on 'email' parameter

**URL:** https://meta.discourse.org/t/mail-receiver-deprecation-warning-on-email-parameter/363900
**Category:** Bug
**Tags:** mail-receiver, fixed
**Created:** [April 29, 2025, 1:50am UTC](https://meta.discourse.org/t/mail-receiver-deprecation-warning-on-email-parameter/363900 "2025-04-29T01:50:17Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![textkit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/textkit/32/500981_2.png) [@textkit](https://meta.discourse.org/u/textkit)
#### Post date: [April 29, 2025, 1:50am UTC](https://meta.discourse.org/t/mail-receiver-deprecation-warning-on-email-parameter/363900/1 "2025-04-29T01:50:17Z")

</div>

I’ve installed the discourse mail-receiver to allow replies by email on my self-hosted site. I get the following deprecation warning in the logs.

```plaintext
Deprecation notice: warning: the email parameter is deprecated. all POST requests to this route should be sent with a base64 strict encoded email_encoded parameter instead. email has been received and is queued for processing (removal in Discourse 3.3.0) 
At /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.2.1/lib/action_controller/metal/basic_implicit_render.rb:8:in `send_action`

```

I am running the latest Discourse 3.5.0.beta3-dev, so the deprecation version is wrong, but it still seems scary that it could break any moment.

Deprecation in the source code is [here](https://github.com/discourse/discourse/blob/1ab57f691028e5bb3f1703dec574dd8546d45a8d/app/controllers/admin/email_controller.rb#L120)

And [here](https://github.com/discourse/mail-receiver/blob/main/lib/mail_receiver/discourse_mail_receiver.rb#L40) is the line that needs to be changed in mail-receiver to use base64 encoding instead. Let me know if you would like a PR.

---

_[View the full topic](https://meta.discourse.org/t/mail-receiver-deprecation-warning-on-email-parameter/363900)._
