function sendEmail(){
var emailRange = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Sheet 1").getRange("A1");
var emailAddress = emailRange.getValues();
var message = 'Test message';
var subject = 'Test subject';
MailApp.sendEmail(emailAddress, subject, message);
}
When I try to run it, I get "Exception: The parameters (number[],String,String) don't match the method signature for MailApp.sendEmail. (line 6, file "Send_Email")"
When I copy and paste the email address from Sheet 1, A1 into the spot occupied by the variable "emailAddress", the script works.