ChatGPT for Gmail
Display ChatGPT response as a suggestion to complete emails
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "ChatGPT for Gmail",
"description": "Display ChatGPT response as a suggestion to complete emails",
"version": "1.1.1",
"manifest_version": 3,
"icons": {
"16": "logo.png",
"32": "logo.png",
"48": "logo.png",
"128": "logo.png"
},
"host_permissions": [
"https://*.openai.com/",
"https://mail.google.com/*",
"https://"
],
"permissions": [
"storage"
],
"background": {
"service_worker": "background.js"
},
"action": {
"default_popup": "popup.html"
},
"options_ui": {
"page": "options.html",
"open_in_tab": true
},
"content_scripts": [
{
"css": [
"content-script.css"
],
"matches": [
"<all_urls>"
],
"js": [
"content-script.js"
],
"run_at": "document_start"
}
],
"web_accessible_resources": [
{
"resources": [
"injected_content.js"
],
"matches": [
"<all_urls>"
]
}
]
}