Re-add accidentally removed IDocumentNameFromTitle behavior to mail upgrade step.

Adding this behavior was originally introduced in #311 but was somehow dropped when re-organizing upgrade-steps in #312. Closes #446.