Failed to Fetch error when generating emails with DuckDuckGo API