Skip to content

Commit 0ea16f7

Browse files
authored
Merge pull request #6 from loq24/chore/rename-application
chore: rename application
2 parents ab1bd40 + be548f5 commit 0ea16f7

File tree

7 files changed

+25
-20
lines changed

7 files changed

+25
-20
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# VA Email Helper - Chrome Extension
1+
# AI Email Helper - Chrome Extension
22

33
A Chrome extension that reads Gmail messages and generates AI-powered responses using OpenAI's Assistant API, similar to how Grammarly works with Gmail.
44

@@ -40,7 +40,7 @@ npm run build
4040
1. Click the extension icon in your browser toolbar
4141
2. Go to the "Settings" tab
4242
3. Enter your OpenAI API Key
43-
4. Enter your Assistant ID (starts with "asst_")
43+
4. Enter your Assistant ID (starts with "asst\_")
4444
5. Click "Test Connection" to verify
4545
6. Click "Save Settings"
4646

@@ -79,7 +79,7 @@ Guidelines:
7979
Always generate only the email body content, no subject lines or signatures unless specifically requested.
8080
```
8181

82-
4. Save the assistant and copy the Assistant ID (starts with "asst_")
82+
4. Save the assistant and copy the Assistant ID (starts with "asst\_")
8383

8484
## Development
8585

@@ -125,22 +125,26 @@ npm run build:tailwind
125125
## Troubleshooting
126126

127127
### Extension not working?
128+
128129
1. Check that you're on `mail.google.com`
129130
2. Refresh the Gmail page
130131
3. Check the extension is enabled in `chrome://extensions/`
131132

132133
### Can't detect email content?
134+
133135
1. Make sure you're viewing an email conversation
134136
2. Try clicking on the email to ensure it's selected
135137
3. Refresh the page and try again
136138

137139
### API errors?
140+
138141
1. Verify your OpenAI API key is correct
139142
2. Check your OpenAI account has credits
140143
3. Ensure your Assistant ID is valid
141144
4. Test the connection in Settings
142145

143146
### Generated response not inserting?
147+
144148
1. Click in the compose text area first
145149
2. Make sure you have a compose window open
146150
3. Try copying the response and pasting manually
@@ -160,6 +164,7 @@ MIT License - see LICENSE file for details
160164
## Support
161165

162166
For issues and questions:
167+
163168
1. Check the troubleshooting section above
164169
2. Review Chrome extension console logs
165170
3. Check OpenAI API status

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"manifest_version": 3,
3-
"name": "VA Email Helper",
3+
"name": "AI Email Helper",
44
"version": "1.0.0",
55
"description": "Gmail assistant that generates responses using OpenAI Assistant API",
66
"permissions": ["storage", "activeTab", "scripting", "contextMenus"],
@@ -15,7 +15,7 @@
1515
],
1616
"action": {
1717
"default_popup": "popup.html",
18-
"default_title": "VA Email Helper",
18+
"default_title": "AI Email Helper",
1919
"default_icon": {
2020
"16": "icon16.png",
2121
"48": "icon48.png",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "va-email-helper",
2+
"name": "ai-email-helper",
33
"version": "1.0.0",
44
"description": "Gmail assistant Chrome extension with OpenAI integration",
55
"main": "index.tsx",
@@ -43,6 +43,6 @@
4343
"openai",
4444
"assistant"
4545
],
46-
"author": "VA Email Helper",
46+
"author": "AI Email Helper",
4747
"license": "MIT"
4848
}

src/background/background.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// Background script for VA Email Helper
2-
console.log("VA Email Helper background script loaded");
1+
// Background script for AI Email Helper
2+
console.log("AI Email Helper background script loaded");
33

44
// Handle installation
55
chrome.runtime.onInstalled.addListener(() => {
6-
console.log("VA Email Helper installed");
6+
console.log("AI Email Helper installed");
77

88
// Set default settings
99
chrome.storage.sync.get(["openaiKey", "assistantId"], (result) => {

src/content/content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Content script for Gmail interaction
2-
console.log("VA Email Helper content script loaded");
2+
console.log("AI Email Helper content script loaded");
33

44
class GmailHelper {
55
private isGmail: boolean;

src/popup/Popup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Popup = () => {
4242
</div>
4343
<div>
4444
<h1 className="text-xl font-bold tracking-tight">
45-
VA Email Helper
45+
AI Email Helper
4646
</h1>
4747
<p className="text-blue-100 text-sm">
4848
AI-powered email responses

src/popup/popup.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>VA Email Helper</title>
7-
<link rel="stylesheet" href="styles.css">
8-
</head>
9-
<body>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>AI Email Helper</title>
7+
<link rel="stylesheet" href="styles.css" />
8+
</head>
9+
<body>
1010
<div id="root"></div>
11-
</body>
11+
</body>
1212
</html>

0 commit comments

Comments
 (0)