function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Having a Problem deploying EmailFolder Metadata into a Spring21 Sandbox


Using SFDX and Unlocked Packages, came to install a package today into a Preview Sandbox but it fails and the failed metadata is to do with EmailFolder.  Narrowed down by doing line by line deployment.

The below works in a non-preview sandbox created today but not in a one created before the window.  Obviously a change but can't find any notes on it.

Metadata is :

<?xml version="1.0" encoding="UTF-8"?>
<emailFolder xmlns="">

The answer is written in my subject.

With a V50 Sandbox it didn't seem to matter that I had written emailFolder as the tag.

With V51 it does need to be EmailFolder.
ShirishaShirisha (Salesforce Developers) 
Hi Alfo,


Since you are obeserving the difference because of the release,you can log a case with the support and they will help you further on this one.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri