DeepSeek-R1-GGUF
unsloth · Kit
GGUF copies of the 671B DeepSeek-R1 reasoning model, with 1.58-bit and 2-bit dynamic quants, for running it in llama.cpp on a local machine with enough memory.
An n8n workflow that replies to listed Gmail senders with OpenAI and saves each exchange, plus a Yes or No rating, to Google Sheets.
AI email replies from Gmail with feedback saved to Sheets is an n8n workflow in the Business category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
New Gmail message
It starts when Gmail, checked every minute, shows a new message:
A reply in the sender’s thread, and a row in the sheet with the message, the reply and the rating
What you need before you start.
Mailbox
Supplies new messages and sends each reply in its thread.
NeedsA Gmail credential
Language model
Writes the reply from the sender, subject and text of the message.
NeedsAn OpenAI API key
Reply log
Stores each message and reply, and receives the Yes or No rating.
NeedsA Google Sheets credential
Checked by Mindket on 13 Nov 2026
This n8n workflow answers new Gmail messages with replies written by OpenAI. It answers only the senders you list, or everyone if you use a star. Each reply carries a Yes and a No link, and the message, the reply and the click are saved to a Google Sheet. Forty-one nodes run it, beside nine sticky notes.
Small teams that want a first reply drafted and sent for routine mail, and want rated examples to improve a model later. Skip it if a person must read every reply first, or if the mail cannot go to OpenAI.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Support | Support desks | Answer routine questions from known addresses | A desk sends first replies to a partner’s repeat questions. |
| Sales | Sales teams | Reply to inbound enquiries | A rep’s mailbox answers a pricing enquiry on its own. |
| Recruiting | Recruiters | Acknowledge applications | A recruiter’s inbox thanks each applicant and says what happens next. |
| Research | AI teams | Collect rated replies | A team gathers Yes and No ratings for later fine-tuning. |
You need some n8n and a Google account: import a file, add three credentials, list who to answer and set the WEBHOOK_URL variable.
An n8n that can reach Gmail, OpenAI and Google Sheets will run it. The replies leave from your Gmail account, and the rating pages are served by your n8n.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Setup takes three credentials, a list of senders and the WEBHOOK_URL variable.
| Need | Detail |
|---|---|
| n8n | An instance with WEBHOOK_URL set to the address people reach it at |
| Gmail | A Google account for the mailbox |
| Google Sheets | The same account, or your own sheet with four columns |
| OpenAI | An API key |
workflow.json.Configure, replace <YOUR_RECIPIENT_EMAILS> with the addresses to answer, or with a star for every sender.Activate the workflow. Gmail is checked every minute, and a message from a listed sender gets an answer in the same thread. A click on Yes or No in the reply updates the sheet.
| To change | Where |
|---|---|
| The model and the prompt | The body of Generate reply |
| The reply length | replyTokenSize in Configure |
| Who gets an answer | recipients in Configure |
| The look of the reply | The HTML in Email template |
A partner writes twice a week to ask how to reset a device, and the address is on the list. The workflow writes a short reply and sends it in the thread.
It then adds a row to the sheet with the first message and the reply. The partner clicks Yes, and the last column of that row changes to Yes.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. Here one trigger watches Gmail, and a second waits for a click on a link in the reply. Start with your own address as the only sender.
For experts. Two triggers share one chain of Set, Switch and Configure nodes. The reply comes from one HTTP Request to Chat Completions, and a Code node keeps only the newest text of each message.
| Node | What it does | What to know |
|---|---|---|
Extract message content (advanced) | Cuts quoted older mail from the message | The parser is long minified code, left as it was |
Generate reply | Asks Chat Completions for the reply | The reasoning effort is none, so the length limit covers visible text only |
Reply Fields | Picks text and finish_reason | A reply that did not end on stop is not sent |
Create or update rows | Adds the row, or reports a missing sheet | continueOnFail lets the next check see the error |
This workflow sends real replies to every matching sender, so try it with your own address first.
gpt-3.5-turbo-instruct. OpenAI’s deprecations page, read on 12 November 2026, lists it as shut down on 28 September 2026. This copy calls Chat Completions with gpt-6-lunamax_completion_tokens, so the request switches reasoning off and the default of 300 leaves room for textWEBHOOK_URL, and anyone who holds one can click itmaxTokenSize is 4000, and the model page lists a context of 1,050,000 tokens, so you can raise itAn n8n workflow that answers new Gmail messages from the senders you list with a reply written by OpenAI. It saves each message and its reply to a Google Sheet. Every reply carries a Yes and a No link, and a click writes the answer into the sheet, so you collect rated examples for fine-tuning later.
workflow.json: the workflow as n8n exports it, fifty nodes: forty-one that do the work and nine sticky notes. It holds no credential.README.md: these notes.Generate reply was n8n's older OpenAI text node. The file names no model, so the node used its default, gpt-3.5-turbo-instruct. OpenAI's deprecations page, read on 12 November 2026, lists that model as shut down on 28 September 2026 with gpt-5.6-terra as the replacement. The model page for gpt-5.6-terra shows the legacy Completions endpoint as not supported.Generate reply is now an HTTP Request to Chat Completions. It names gpt-6-luna, sets reasoning_effort to none and takes max_completion_tokens from replyTokenSize. OpenAI's reference counts reasoning tokens in that limit, so the default of 300 could run out before any text appears with reasoning switched on.Reply Fields node follows it. It turns the answer into text and finish_reason, the two fields the rest of the workflow reads, and Format data reads text from it.recipients held [UPDATE ME]. It holds <YOUR_RECIPIENT_EMAILS> now.WEBHOOK_URL environment variable set to the address people reach it at. The Yes and No links in each reply are built from it. n8n's security page lists N8N_BLOCK_ENV_ACCESS_IN_NODE as false by default, which leaves that access on.workflow.json.On email received and Send reply to recipient.Create spreadsheet, Create or update rows, Paste data and Send feedback for fine-tuned data.Generate reply.Configure, replace <YOUR_RECIPIENT_EMAILS> with the addresses to answer, separated by commas, or with * to answer every sender.spreadsheetId and worksheetId empty and the workflow creates a spreadsheet named by spreadsheetName. To use your own sheet, fill both in and give it the columns ID, Initial message, Generated reply and Good response?.On email received polls Gmail every minute. Identify trigger #1 marks the item as gmail and Configure adds the settings.Determine which trigger ran sends it on. Only continue for specific emails checks the sender against recipients.Generate UUID gives the exchange an id. Extract message content (advanced) keeps the newest text of the message and drops quoted older mail.Is text within token limit? compares the text length divided by four with maxTokenSize minus replyTokenSize. A longer message is ignored.Generate reply asks OpenAI, and Reply Fields picks out the answer. If reply is complete lets only a reply that ended on stop through to Email template, and Send reply to recipient answers the message in its thread.Format data builds a row with the id, the first message, the reply and an empty Good response?. The sheet nodes create the spreadsheet if it is missing, or add the row to it.On feedback given is a webhook. A click on Yes or No sends the id and the answer. Identify trigger #2 marks it webhook, Record feedback passes it on and Send feedback for fine-tuned data writes the answer into the row with that id. The visitor sees a thank-you page.Generate reply.replyTokenSize in Configure.recipients in Configure.Email template.Configure.replyTokenSize if that happens.maxTokenSize is 4000, a cautious number. The model page for gpt-6-luna lists a context of 1,050,000 tokens, so you can raise it.NOTICE.md 673 B README.md 5 KB workflow.json 79 KB
unsloth · Kit
GGUF copies of the 671B DeepSeek-R1 reasoning model, with 1.58-bit and 2-bit dynamic quants, for running it in llama.cpp on a local machine with enough memory.
prithivMLmods · Kit
Provides GGUF files of Axion-1.0-35B, a 35B mixture-of-experts model with about 3B active parameters aimed at scientific reasoning, information seeking and too…
Phips · Kit
Upscales low-resolution images with a super-resolution network that trains on one consumer GPU and exports to ONNX. For people who train or run image upscalers.
perplexity-ai · Kit
Picks the best option for a decision from text and images, such as which team should handle a request, with a probability for each choice, for developers who b…
numind · Kit
Reads documents as text or images and fills a JSON template with the fields you ask for, or converts the pages to Markdown. A 4B model for teams that process s…
nace-ai · Kit
Scores yes or no, multiple choice and rating questions about a document in one pass, with a probability for every option. An 8B decision model from Nace.AI tha…