Getting errors on Gmail is mostly due to corrupt files. You can try to clear all the cache data to fix the error.