When you receive a voicemail message on a phone number connected to your Google Voice account, the text transcription of the voice mail is emailed to your Gmail account along with a link to play the audio message on your phone or desktop. Now you can automatically save that voice mail to your Google Drive as an MP3 file.

I have written a little web app that scans your Gmail mailbox for any voicemails from Google Voice and it will save the audio in a specific folder on your Google Drive. The app attaches the voicemail transcript to the MP3 file as well thus making it possible for you to search your voice mails from within Google Drive.

To get started, click here and authorize why the app to access your Gmail and Google Drive accounts. On the next screen, click the Google Voice button and wait for the app to initialize. That’s it. The app will run in the background and monitor your Gmail account for any messages from Google Voicemail.

It creates a new folder called Google Voice in your Google Drive and all the voicemail MP3 files are saved in this folder. Also, once a voice mail has been processed in Gmail, a new label called MP3 is applied to that message to prevent the app from reprocessing that email message.

The app is powered by Google Scripts and the entire source code is available below. You can stop the script anytime using the uninstallation link that would have arrived in your Gmail account when you authorized the app.

[*] The script triggers every 15 minutes and processes 10 voice mail messages in the batch starting with the most recent ones. If you have too many old voice mails in your Gmail account, it may take a while to process all the emails.

[**] The web app requires permissions to access your Gmail and Google Drive. I have shared the full source code of the app but if you aren’t convinced yet, just make a copy of the above code in your Google Drive and run it manually.