# Batch email category update

**URL:** <https://forum.mautic.org/t/batch-email-category-update/33106>\
**Category:** Ideas and Feature Requests\
**Tags:** user-interface\
**Created:** [August 13, 2024, 8:20am UTC](https://forum.mautic.org/t/batch-email-category-update/33106 "2024-08-13T08:20:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mchojrin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mchojrin/32/10159_2.png) [@mchojrin](https://forum.mautic.org/u/mchojrin)\
**Post date:** [August 13, 2024, 8:20am UTC](https://forum.mautic.org/t/batch-email-category-update/33106/1 "2024-08-13T08:20:27Z")

</div>

My idea is: to allow changing the email category for multiple messages at a time. Right now the only batch action I see is delete:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/ace074a5db421b98a48490952a21e57f0ec9e4cc.png)

I think these groups of people would benefit from this idea: marketing managers

Why I think they would benefit from this idea: It will save lots of time organizing messages for later re-use, analysis. Without this feature it must be made one by one (Or through SQL directly on the db).

Are you willing to work on this idea?: I am.

What skills and resources do you need to explore this further? I need to setup a local dev environment

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [August 13, 2024, 8:25am UTC](https://forum.mautic.org/t/batch-email-category-update/33106/2 "2024-08-13T08:25:01Z")

</div>

Hi there, this sounds like a really useful feature. It’d require a batch-change functionality which could well be resource intensive in some cases, so we’d need to make sure that it was performant.

If you’d like to work on it please use the 5.x branch, you’ll find some documentation on setting up your local environment with DDEV and making PRs here: [https://contribute.mautic.org/contributing-to-mautic/developer](https://contribute.mautic.org/contributing-to-mautic/developer).

---

<div class="post-metadata">

**Author:** ![mchojrin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mchojrin/32/10159_2.png) [@mchojrin](https://forum.mautic.org/u/mchojrin)\
**Post date:** [August 13, 2024, 8:48am UTC](https://forum.mautic.org/t/batch-email-category-update/33106/3 "2024-08-13T08:48:14Z")

</div>

Getting right to it ;), will keep you posted

---

<div class="post-metadata">

**Author:** ![mchojrin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mchojrin/32/10159_2.png) [@mchojrin](https://forum.mautic.org/u/mchojrin)\
**Post date:** [August 13, 2024, 9:59am UTC](https://forum.mautic.org/t/batch-email-category-update/33106/4 "2024-08-13T09:59:15Z")

</div>

Hey @silavapi I’m trying to setup my local env using ddev and I’m having trouble with `keytool`. I’ve been googling around (And also asked ChatGPT) but I’ can’t find the solution… perhaps you can help me?

The problem I have is that when I use `ddev start` I get an error related to `keytool -list`.

When I try the command `keytool -list` outside of ddev I get asked for the keystore password… I was hoping to configure this information in some file inside `.ddev` but I can’t figure it out.

Thanks!

**Edit** :

The problem seems to be related to mkcert rather than keytool. I just tried in a virtual box without keytool and it seems to work ok

**Edit 2** : Finally got it working… the problem was the `JAVA_HOME` definition, once I pointed it to the right location it all started working 🙂

---

<div class="post-metadata">

**Author:** ![mchojrin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mchojrin/32/10159_2.png) [@mchojrin](https://forum.mautic.org/u/mchojrin)\
**Post date:** [August 13, 2024, 2:24pm UTC](https://forum.mautic.org/t/batch-email-category-update/33106/5 "2024-08-13T14:24:36Z")

</div>

> [@silavapi](#):
>
> It’d require a batch-change functionality which could well be resource intensive in some cases, so we’d need to make sure that it was performant.

I think it could be handled in two different ways, the one I was thinking of was to have the same UI as the current batch delete where the user would filter+select a few emails and apply a batch update to them (Particularly moving them to another category).

Another way to go would be to have a completely new feature to move all emails from category X to Y and do it asynchronously. Perhaps this could be even extended to merging categories as well 😛

Anyway, my plan is to go with the first option for the time being and later re-evaluate.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [August 13, 2024, 3:05pm UTC](https://forum.mautic.org/t/batch-email-category-update/33106/6 "2024-08-13T15:05:53Z")

</div>

OK great - there is some work we’re proposing to do to refactor categories to use them as ‘folders’ in which we organise resources, so I would start for now with just adding a batch-update feature to keep it simple.

If you want to get some feedback on your ideas/proposed way of working then you can ask in #t-product on Slack. There’s usually more folks about on a Friday! 🙂
