Skip to main content

Bulk Email Renamer For Outlook

Dynamically rename emails in bulk

Built with: Python + KivyMD

➔ Click here to download the tool.
Note: The app will rename every file in the folder. To speed things up, files that already have the correct name should be moved to a different folder to prevent them from being renamed with the same name.

The bulk email renamer tool allows you to dynamically rename Outlook emails in bulk.
This tool can be used for various purposes but it was originally developed to allow businesses who drag-and-drop emails into a folder on a shared drive for example and automatically rename all of the emails using information that is contained within an email such as date, sender, receiver, subject, etc.

For example: Jul 22 2021 1137 Stavrou to Todorov IT Assistance

When using the tool to rename emails, you cannot use forbidden characters that cannot be used to name files in Windows and for this reason I have removed the ability to type these into the app.

Windows forbidden characters:

  • < (less than)
  • > (greater than)
  • : (colon)
  • ” (double quote)
  • / (forward slash)
  • \ (backslash)
  • | (vertical bar or pipe)
  • ? (question mark)
  • * (asterisk) – Asterisks are reserved to identify variables within the app but cannot be used in file names.

Furthermore, for this app to work perfectly, the email must contain the full name of the sender and receiver.

Bulk Renamer Variables

The below variables can be used to dynamically grab data from an email to be used in the renaming process.

  • From Full Name = *ffullname*
  • From First Name = *ffirstname*
  • From Surname = *fsurname*
  • From Email = *femail*
  • To Full Name = *tfullname*
  • To First Name = tfirstname*
  • To Surname = *tsurname*
  • To Email = *temail*
  • Subject = *subject*
  • Day = *day*’
  • Month = *month*
  • Year = *year*
  • Time (24 Hour using a . as a divider between hours and minutes) = *time.*
  • Time (No divider) = *time*


  • Dwight says:

    Hello Peter,
    Is it possible to rename hundreds of email subject lines as follows?
    Original Examples:
    New renamed msg files:
    0001 constant.msg and 0002 checkup.msg
    So what I want is to rename hundreds of msg files by simply only adding the 4-digit prefix to the front of the subject line whereas 0001 indicates the first received message of the year and in the case I am referring to then the last message of the year would be 0735 because there are 735 messages in this folder. Each msg file is numbered sequentially based on the dates.
    I am asking because the sender and I have more than 6,000 messages developed over a period of more than 4 years.

Share Your Thoughts