Not sure if it's a bug or a feature, but it bugs me. The [mailsave_attachments] array's 'filepath' is location of a temp file, while the file is actually renamed by the function mailsave_save_file() in $dest = file_destination(file_create_path($file->filename), FILE_EXISTS_RENAME);

Can/should this be corrected? I need this final location value in a submodule.

cheers