Sending, receiving, and organizing email in Outlook.com
Hello. That overlay isn’t random. The TaskPane initialization failure it's because your SourceLocation iframe is being blocked by the browser sandbox before the runtime can complete handshake with Office.js.
Open Outlook Web → F12 → Console. You’ll likely see Refused to display in a frame because it set X-Frame-Options to "sameorigin". That confirms the remote site (like Google) forbids iframe embedding.
The target site must explicitly allow embedding in Outlook’s iframe. Add this header to your web server response: Content-Security-Policy: frame-ancestors https://outlook.office.com https://outlook.live.com https://*.office365.com; Without it, Outlook Web sees the iframe as denied and raises the “Something went wrong” error you see.
Also, the SourceLocation in your manifest must be HTTPS, publicly reachable, and contain a valid Office.js loader page (even if all you do is embed another site inside it). Never point the manifest directly at the external website (like google.com). Wrap it in your own page, e.g. https://yourdomain.com/addin/index.html, then use an inner <iframe> for your content. That keeps Outlook’s CSP handshake clean.