call the method self._create_mime_attachment with unpacked list alternative as an argument, use the result as an argument for the call to the msg.attach method.
msg . attach ( self . _create_mime_attachment ( * alternative ) )