Replaces the part at the specified index within multipart with replacement.
the 0-based index of the part to replace
a #GMimeObject to use as the replacement
the part that was replaced or null if the part was not contained within the multipart.
Replaces the part at the specified index within multipart with replacement.