image patching for emails